[lxc-users] Docs for all unpriv container limits?

Stéphane Graber stgraber at ubuntu.com
Wed Mar 9 07:26:59 UTC 2016


On Wed, Mar 09, 2016 at 05:15:09PM +1000, Mark Constable wrote:
> On 09/03/16 17:01, Stéphane Graber wrote:
> >>Where do I find the kernel boot parameters to enable memory and swap limits?
> >
> >swapaccount=1
> >https://www.kernel.org/doc/Documentation/kernel-parameters.txt
> 
> Thanks yet again. Now I have something to google for would you mind confirming
> this one is or is not needed now?
> 
> cgroup_enable=memory
> 
> I'm sure I used that a year ago but kernel-parameters.txt does not mention the
> "memory" arg...
> 
> cgroup.memory=	[KNL] Pass options to the cgroup memory controller.
> 			Format: <string>
> 			nosocket -- Disable socket memory accounting.
> 			nokmem -- Disable kernel memory accounting.

That may depend on your distro's kernel config. At least on the Ubuntu
kernel you won't.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160309/08109a40/attachment.sig>


More information about the lxc-users mailing list