lkml.org 
[lkml]   [2020]   [Jun]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjecta CGroup issue: a weird value in memory.memsw.limit_in_bytes
Date
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

\
 
 \ /
  Last update: 2020-06-01 10:05    [W:0.059 / U:0.096 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site