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. Thanks, Andrew ----- Original Message ----- From: "Balbir Singh" <bsinghar...@gmail.com> To: "Andrew Martin" <amar...@xes-inc.com> 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 <amar...@xes-inc.com> 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 would like to set memory.memsw.limit_in_bytes to the same value as > memory.limit_in_bytes or only a few MB higher if possible. > Weird... I am trying your config now with lesser memory, so I'll scale and report back. As an experiment can you try creating swap > memory and see if the config works? Balbir ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel