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

Attachment: signature.asc
Description: PGP signature

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to