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

Mark Constable markc at renta.net
Wed Apr 29 07:19:54 UTC 2015


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"



More information about the lxc-users mailing list