Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-05-03 Thread Balbir Singh
On Fri, May 4, 2012 at 4:51 AM, Andrew Martin wrote: > Hi Balbir, > > I tried setting the memory.memsw.limit_in_bytes higher than > memory.limit_in_bytes by powers of 2 (up to 256MB higher than > memory.limit_in_bytes), however the same behavior was still present. Hi, Andrew I meant can you crea

Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-05-03 Thread Andrew Martin
o: "Andrew Martin" Cc: libcg-devel@lists.sourceforge.net Sent: Wednesday, May 2, 2012 12:57:44 PM Subject: Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes On Wed, May 2, 2012 at 12:40 AM, Andrew Martin wrote: > HI Balbir, > > The total RAM in the machine is 8002M

Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-05-02 Thread Balbir Singh
On Wed, May 2, 2012 at 12:40 AM, Andrew Martin wrote: > HI Balbir, > > The total RAM in the machine is 8002MB and the swap space is 471MB. The > cgroup where apache runs is restricted to 6000MB. I would like to keep > apache from swapping at all if possible, so have set memory.swappiness low > and

Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-05-01 Thread Andrew Martin
- From: "Dhaval Giani" To: "Andrew Martin" Cc: "Balbir Singh" , "Libcg Development list" Sent: Monday, April 30, 2012 8:10:04 PM Subject: Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes On Mon, Apr 30, 2012 at 2:52 PM, Andrew Martin w

Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-05-01 Thread Andrew Martin
value as memory.limit_in_bytes or only a few MB higher if possible. Thanks, Andrew - Original Message - From: "Balbir Singh" To: "Andrew Martin" Cc: libcg-devel@lists.sourceforge.net Sent: Tuesday, May 1, 2012 2:40:59 AM Subject: Re: [Lib

Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-05-01 Thread Balbir Singh
On Wed, Apr 25, 2012 at 7:21 AM, Andrew Martin wrote: > Hello, > > I am running a VM with Ubuntu Server 10.04 amd64. I have installed and > configured cgroups to limit the resources available to samba, nfs, and > apache. My configuration is as follows: > /etc/cgconfig.conf > group nfs { > memory

Re: [Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-04-30 Thread Dhaval Giani
On Mon, Apr 30, 2012 at 2:52 PM, Andrew Martin wrote: > Hi Dhaval, > > Thanks for the help. This is a production server so I want to make sure I > understand how cgclear works before I run it. It will delete all running > cgroups? If it is successful I can then restore the cgroups by restarting >

[Libcg-devel] Cannot set memory.memsw.limit_in_bytes

2012-04-24 Thread Andrew Martin
Hello, I am running a VM with Ubuntu Server 10.04 amd64. I have installed and configured cgroups to limit the resources available to samba, nfs, and apache. My configuration is as follows: /etc/cgconfig.conf group nfs { memory { memory.limit_in_bytes = 500M; memory.memsw.limit_in_bytes = 1