Subject: Re: [vserver] vserver guest memory usage: cache/buffers?
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Tue, 29 Nov 2011 21:40:25 +0100

On Tue, Nov 29, 2011 at 08:57:43PM +0100, Jarry wrote:
> On 29-Nov-11 0:58, Steve Kieu wrote:
>> what is the error - steps that you could not use cgroup?

> The only error is that it simply does not work. When I use
> cgroups for memory-limits, free/top and similar tools in
> vserver-guest always show full real hardware memory.
> As if there were no limits in memory.limit_in_bytes
> and memory.memsw.limit_in_bytes. VIRT_MEM is activated.

> And what is even worse, it seems there are actually
> no limits at all. vserver-stat show that vs-guest
> takes more memory than I allowed. But the "old way"
> (rss.soft, rss.hard) at least works. Strange...

I'm pretty sure it doesn't work with kernels newer than
2.6.34 though, because the code doing that simply isn't 
there anymore :)

(the code in question was removed in vs2.3.0.36.30)

best,
Herbert

> Jarry
> -- 
> _______________________________________________________________
> This mailbox accepts e-mails only from selected mailing-lists!
> Everything else is considered to be spam and therefore deleted.