<div dir="ltr">Unfortunately it doesn't work.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-04-29 10:19 GMT+03:00 Mark Constable <span dir="ltr"><<a href="mailto:markc@renta.net" target="_blank">markc@renta.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 29/04/15 17:17, Fırat KÜÇÜK wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
lxc.cgroup.memory.limit_in_bytes = 2048M<br>
but my container free -h output shows 32GB<br>
Is there anything that i missed?<br>
</blockquote>
<br></span>
For me on ubuntu I had to add this to my default grub line and reboot...<br>
<br>
~ grep cgroup /etc/default/grub<br>
<br>
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash cgroup_enable=memory swapaccount=1"<br>
<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org" target="_blank">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature">FIRAT KÜÇÜK</div>
</div>