[lxc-users] Default memory.limit_in_bytes seems high

Nels Nelson nels.n.nelson at gmail.com
Mon Apr 14 17:41:09 UTC 2014


I'm guessing that the default for memory.limit_in_bytes is supposed to just
be effectively unlimited.

# lxc-create -n test -t minimal
# lxc-start -n test -d
# lxc-attach -n test -- cat
/sys/fs/cgroup/memory/lxc/test/memory.limit_in_bytes
18446744073709551615

Is that so?  I've been trying to find documentation on default values for
cgroups, but I've not found anything yet.

Neither https://www.kernel.org/doc/Documentation/cgroups/cgroups.txt, nor
https://www.kernel.org/doc/Documentation/cgroups/memory.txt seem to
indicate what are the defaults.

Thanks,
-Nels
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140414/c0013e17/attachment.html>


More information about the lxc-users mailing list