[lxc-users] Problem with memory.memsw.limit_in_bytes on Ubuntu 14.04.

PONCET Anthony ff240 at msn.com
Thu Feb 26 15:06:23 UTC 2015


Le 26/02/2015 15:36, Fajar A. Nugraha a écrit :
> You're apprently right. "2G" is not the cause. Rather, it should be 
> this (I didn't test it):
>
> http://cateee.net/lkddb/web-lkddb/MEMCG_SWAP_ENABLED.html
>
> at least ubuntu's 3.16.0-28-generic has # CONFIG_MEMCG_SWAP_ENABLED is 
> not set
>
> On Thu, Feb 26, 2015 at 9:19 PM, CDR <venefax at gmail.com 
> <mailto:venefax at gmail.com>> wrote:
>
>     It should work with 2G. The rest a bad excuse. It has become a
>     standard in the software industry.
>
>     On Thu, Feb 26, 2015 at 8:49 AM, Fajar A. Nugraha <list at fajar.net
>     <mailto:list at fajar.net>> wrote:
>
>         On Thu, Feb 26, 2015 at 6:51 PM, PONCET Anthony <ff240 at msn.com
>         <mailto:ff240 at msn.com>> wrote:
>
>             Hello,
>             I'm trying to used the memory.memsw.limit_in_bytes, and I
>             have this error when I trying to set this : "lxc-cgroup -n
>             c_name memory.memsw.limit_in_bytes 2G
>
>
>         The name does say "limit_in_bytes", not
>         "limit_in_human-friendly_format". Did you try putting
>         2147483648 <tel:2147483648> instead of 2G?
>
>         -- 
>         Fajar
>
>         _______________________________________________
>         lxc-users mailing list
>         lxc-users at lists.linuxcontainers.org
>         <mailto:lxc-users at lists.linuxcontainers.org>
>         http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
>     _______________________________________________
>     lxc-users mailing list
>     lxc-users at lists.linuxcontainers.org
>     <mailto:lxc-users at lists.linuxcontainers.org>
>     http://lists.linuxcontainers.org/listinfo/lxc-users
>
>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
Hmm... It's working when I set in bytes, but I don't know why, but now 
it's working with 2G.
I'm locked since yesterday... :s

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150226/7c5232a3/attachment.html>


More information about the lxc-users mailing list