2020-06-01 08:06:52

by Toralf Förster

[permalink] [raw]
Subject: a CGroup issue: a weird value in memory.memsw.limit_in_bytes

I do wonder about this value:

# grep ^9 /sys/fs/cgroup/memory/*/*/memory.memsw.limit_in_bytes
/sys/fs/cgroup/memory/tinderbox/17.1_developer-20200531-193248/memory.memsw.limit_in_bytes:9223372036854771712
/sys/fs/cgroup/memory/tinderbox/17.1_developer-libressl-20200531-194547/memory.memsw.limit_in_bytes:9223372036854771712
/sys/fs/cgroup/memory/tinderbox/17.1_hardened-20200531-195425/memory.memsw.limit_in_bytes:9223372036854771712

which are about 2^12 below 2^63 :

# echo "2^63 - 9223372036854771712" | bc
4096

b/c I do write much smaller values into it:

https://github.com/toralf/tinderbox/blob/75fcbe43f58dadfab94fdd67aef1f681bb74f451/bin/bwrap.sh#L34

This happens not always, just realized it yesterday at few files.
--
Toralf