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

2015-02-26 Thread Guido Jäkel
On 26.02.2015 20:53, Serge Hallyn wrote: > I've opened https://github.com/lxc/lxc/issues/453 . > I may implement it at some point, but it should be a pretty easy one so > I'm going to see if someone else is interested in doing so. Serge, i'm very sorry for my bad English, but i wasn't able work o

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

2015-02-26 Thread Serge Hallyn
I've opened https://github.com/lxc/lxc/issues/453 . I may implement it at some point, but it should be a pretty easy one so I'm going to see if someone else is interested in doing so. ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://l

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

2015-02-26 Thread Jäkel , Guido
Dear Serge, >Might be worth having lxc order the rules so that it'll always just work. The order of execution needed depends on the actual and desired values crossover the items. The setters of the Memory Controller should be act like Set_MemSwap(Limit) { Mem := max(Mem,Limi

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

2015-02-26 Thread PONCET Anthony
, if memsw should be set below mem. Greetings Guido -Original Message- From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On Behalf Of PONCET Anthony Sent: Thursday, February 26, 2015 4:06 PM To: LXC users mailing-list Subject: Re: [lxc-users] Problem with memory.memsw.l

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

2015-02-26 Thread Serge Hallyn
Quoting Jäkel, Guido (g.jae...@dnb.de): > Dear Anthony, Dear Fajar, > > On may unit letters like 'G' while setting the values of the memory cgroup > controller. > > But note that memsw stands for the sum of memory and swap. Therefore, > can't set memory.memsw.limit_in_bytes to a value *l

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

2015-02-26 Thread Jäkel , Guido
ings Guido >-Original Message- >From: lxc-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On Behalf >Of PONCET Anthony >Sent: Thursday, February 26, 2015 4:06 PM >To: LXC users mailing-list >Subject: Re: [lxc-users] Problem with memory.memsw.limit_in_bytes on Ubunt

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

2015-02-26 Thread PONCET Anthony
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 2

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

2015-02-26 Thread Fajar A. Nugraha
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 wrote: > It should work wit

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

2015-02-26 Thread CDR
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 wrote: > On Thu, Feb 26, 2015 at 6:51 PM, PONCET Anthony wrote: > >> Hello, >> I'm trying to used the memory.memsw.limit_in_bytes, and I have this

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

2015-02-26 Thread Fajar A. Nugraha
On Thu, Feb 26, 2015 at 6:51 PM, PONCET Anthony 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_form

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

2015-02-26 Thread PONCET Anthony
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 lxc_container: cgmanager.c: do_cgm_set: 1013 Error setting cgroup value memory.memsw.limit_in_bytes for memory:/user/1001.user/2.sess