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 ZakrissonReceived on Tue Nov 22 21:39:23 2011