[lxc-users] lxc memory limit doesn't work

Fırat KÜÇÜK firatkucuk at gmail.com
Wed Apr 29 07:30:15 UTC 2015


Unfortunately it doesn't work.

2015-04-29 10:19 GMT+03:00 Mark Constable <markc at renta.net>:

> On 29/04/15 17:17, Fırat KÜÇÜK wrote:
>
>> lxc.cgroup.memory.limit_in_bytes = 2048M
>> but my container free -h output shows 32GB
>> Is there anything that i missed?
>>
>
> For me on ubuntu I had to add this to my default grub line and reboot...
>
> ~ grep cgroup /etc/default/grub
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash cgroup_enable=memory
> swapaccount=1"
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users




-- 
FIRAT KÜÇÜK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150429/6748f59f/attachment-0001.html>


More information about the lxc-users mailing list