[Lxc-users] RAM & swap caps - what isn't allowed?

Trent W. Buck twb at cybersource.com.au
Thu Dec 16 01:39:12 UTC 2010


Some combinations of RAM and swap caps aren't allowed, and I'm having a
hard time understanding the pattern (i.e. *why*).  From the examples
below, I *think* I cannot assign a smaller swap cap than RAM cap.

Also, is there a way to specify that a container cannot use ANY swap,
i.e. the swap cap is 0?

I'm using Ubuntu 10.04 as the host and container, with a .32 kernel and
lxc 0.7.2 (cherry-picked from maverick).

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: typescript
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20101216/bb6eebf1/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mimic.conf
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20101216/bb6eebf1/attachment-0001.ksh>


More information about the lxc-users mailing list