[Lxc-users] Memory limits

Andre Nathan andre at digirati.com.br
Tue May 8 15:26:50 UTC 2012


Hello

I'm doing some tests with lxc and cgroup memory limits. From what I
understand from the documentation, the lxc.cgroup.memory.limit_in_bytes
limit is applied against the sum of the 'cache', 'rss' and 'mapped_file'
fields in the /sys/fs/cgroup/lxc/$container/memory.stat file; that is,
if that sum reaches the value of the limit_in_bytes settings, further
allocation attempts are denied.

Can anyone confirm that this is indeed the case?

Thanks
Andre





More information about the lxc-users mailing list