Re: [vserver] memory limits: where & how to mount /dev/cgroups?

From: Daniel Hokka Zakrisson <daniel_at_hozac.com>
Date: Tue 22 Nov 2011 - 21:39:12 GMT
Message-ID: <57346.192.168.101.15.1321997952.squirrel@192.168.100.17>

Jarry wrote:
> Hi,
>
> I'm trying to set-up memory limits for my vserver-guests.
> Documentation says "Beginning with vs2.3.0.36.29 you should
> use cgroups to set memory limits".
>
> util-vserver:Cgroups says: "make sure /dev/cgroup is mounted
> with -o...,memory to be able to use this feature".
>
> This I do not understand at all. I have /dev/cgroups
> already visible in vserver-host. So where should I mount
> /dev/cgroups again? In vserver-guests?

The util-vserver initscript will mount it with all supported
subsystems enabled, unless configured differently.

> Further, util-vserver:Cgroups says:
> "you may wish to add the cgroup mount to /etc/fstab"
> Is it fstab of vserver-host, or vserver-guest?

Of the host. This is legacy, not something that you need
to do on a proper util-vserver installation.

-- 
Daniel Hokka Zakrisson
Received on Tue Nov 22 21:39:23 2011
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Tue 22 Nov 2011 - 21:39:23 GMT by hypermail 2.1.8