Re: [vserver] Memory limits not enforced

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Sat 27 Aug 2011 - 19:59:47 BST
Message-ID: <20110827185947.GH26071@MAIL.13thfloor.at>

On Sat, Aug 27, 2011 at 04:33:15PM +0200, Yanek wrote:
> Hi,

> I've built a new vserver on a host that already has 5
> guests running. I want to enforce memory limits on the new
> guest, so I just copied /etc/vservers/someguest/rlimits to
> /etc/vservers/newguest. rlimits contains rss.hard and rss.soft
> with respective values of 64000 and 32000.

kernel/patch and util-vserver version?

> For some reason, the limits are not enforced at all and running
> top inside the new guest still displays all the memory of the
> host. The limits are correctly enforced on all of the 5 other
> vservers.

> Any clue on what I am missing?

my bet would be on rlimits vs cgroups

best,
Herbert

> Thanks by advance :)
Received on Sat Aug 27 19:59:57 2011

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Sat 27 Aug 2011 - 19:59:58 BST by hypermail 2.1.8