Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Serge E. Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > > > It seems to me that a little extension to lxc-create which creates > > > the container inside a loopback fs would be pretty neat. > > > > Wouldn't simply adding the rootfs to the fstab conf with the file system > > image and the "-o loop" opti

Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Michael H. Warfield
Sorry, I should have added an example... Below... On Thu, 2010-12-02 at 22:18 -0500, Michael H. Warfield wrote: > On Thu, 2010-12-02 at 18:29 -0600, Serge E. Hallyn wrote: > > Quoting Gordon Henderson (gor...@drogon.net): > > > On Thu, 2 Dec 2010, Serge E. Hallyn wrote: > > > > > > > Quoting G

Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Michael H. Warfield
On Thu, 2010-12-02 at 18:29 -0600, Serge E. Hallyn wrote: > Quoting Gordon Henderson (gor...@drogon.net): > > On Thu, 2 Dec 2010, Serge E. Hallyn wrote: > > > > > Quoting Gordon Henderson (gor...@drogon.net): > > >> On Mon, 29 Nov 2010, Trent W. Buck wrote: > > >> > > >>> Siju George writes: > >

Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Serge E. Hallyn
Quoting Gordon Henderson (gor...@drogon.net): > On Thu, 2 Dec 2010, Serge E. Hallyn wrote: > > > Quoting Gordon Henderson (gor...@drogon.net): > >> On Mon, 29 Nov 2010, Trent W. Buck wrote: > >> > >>> Siju George writes: > >>> > 1) how do I limit the RAM usage of a container? > >>> > >>> In

Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Gordon Henderson
On Thu, 2 Dec 2010, Serge E. Hallyn wrote: > Quoting Gordon Henderson (gor...@drogon.net): >> On Mon, 29 Nov 2010, Trent W. Buck wrote: >> >>> Siju George writes: >>> 1) how do I limit the RAM usage of a container? >>> >>> In lxc.conf(5): >>> >>>lxc.cgroup.memory.limit_in_bytes = 256M >>

Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Serge E. Hallyn
Quoting Gordon Henderson (gor...@drogon.net): > On Mon, 29 Nov 2010, Trent W. Buck wrote: > > > Siju George writes: > > > >> 1) how do I limit the RAM usage of a container? > > > > In lxc.conf(5): > > > >lxc.cgroup.memory.limit_in_bytes = 256M > >lxc.cgroup.memory.memsw.limit_in_bytes = 1

Re: [Lxc-users] limiting RAM usage and disk space usage

2010-12-02 Thread Gordon Henderson
On Mon, 29 Nov 2010, Trent W. Buck wrote: > Siju George writes: > >> 1) how do I limit the RAM usage of a container? > > In lxc.conf(5): > >lxc.cgroup.memory.limit_in_bytes = 256M >lxc.cgroup.memory.memsw.limit_in_bytes = 1G > >> 2) how do I limit the disk usage of a container ? > > Ensur

Re: [Lxc-users] regular lxc development call?

2010-12-02 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): > On 12/02/2010 03:21 PM, Serge E. Hallyn wrote: > >Quoting Daniel Lezcano (daniel.lezc...@free.fr): > >>On 11/30/2010 04:06 AM, Serge E. Hallyn wrote: > >>>Quoting Daniel Lezcano (daniel.lezc...@free.fr): > >>>Looks like we'll be starting small anyw

Re: [Lxc-users] regular lxc development call?

2010-12-02 Thread Daniel Lezcano
On 12/02/2010 03:21 PM, Serge E. Hallyn wrote: > Quoting Daniel Lezcano (daniel.lezc...@free.fr): > >> On 11/30/2010 04:06 AM, Serge E. Hallyn wrote: >> >>> Quoting Daniel Lezcano (daniel.lezc...@free.fr): >>> Looks like we'll be starting small anyway, so let's just try skype. Anyone >>>

Re: [Lxc-users] regular lxc development call?

2010-12-02 Thread Serge E. Hallyn
Quoting Daniel Lezcano (daniel.lezc...@free.fr): > On 11/30/2010 04:06 AM, Serge E. Hallyn wrote: > > Quoting Daniel Lezcano (daniel.lezc...@free.fr): > > Looks like we'll be starting small anyway, so let's just try skype. Anyone > > interested in joining, please send me your skype id. > > > > Wha

Re: [Lxc-users] regular lxc development call?

2010-12-02 Thread Daniel Lezcano
On 11/30/2010 04:06 AM, Serge E. Hallyn wrote: > Quoting Daniel Lezcano (daniel.lezc...@free.fr): > >> On 11/29/2010 03:53 PM, Serge E. Hallyn wrote: >> >>> Hi, >>> >>> at UDS-N we had a session on 'fine-tuning containers'. The focus was >>> things we can do in the next few months to imp