Hi,
I am a bit unsure about the CGROUP-Support in VServer and util-vserver.
I checked http://linux-vserver.org/util-vserver:Cgroups and this mailing
lists archive for CGROUP-posts.
Here on my laptop I run some self-compiled 2.6.38.4-vs2.3.0.37-rc15 with
util-vserver 0.30.216-pre2925 (Debian environment), CONFIG_CGROUP_NS=y
is because I set it that way when I compiled the kernel.
On a server I use 2.6.32-bpo.5-vserver-amd64 (Debian Squeeze) +
util-vserver 0.30.216-pre2864-1 (Debian Squeeze as well),
CONFIG_CGROUP_NS=y is because Debian set it that way.
The mentioned wiki-page and some posts state CONFIG_CGROUP_NS has to be
unset for CGROUPS to work, a post of Herbert state if it is set one has
to handle the cgroup namespace oneself. (Message-ID:
<20090916110654.GB22435@MAIL.13thfloor.at>, Subject: Re: [vserver]
CGROUP options question, 2009-09-16)
How current is this info and what does 'handle the cgroup namespace'
mean? Is it just that "/etc/vservers/<guest>/cgroup/* will be copied to
the guest's cgroup when it is started." (From: Daniel Hokka Zakrisson
<daniel@hozac.com>, Subject: Re: [vserver] util vserver and cgroups,
Message-ID:
<56253.2001:16d8:ff15:101:219:d2ff:fed5:8193.1235492455.squirrel@intranet>,
2009-02-24) won't happen as well as no cgroup will be created?
Would a simple wrapper around a 'vserver VSERVER start' that creates the
cgroup and copies tha values suffice? Maybe a wrapper around all
'vserver VSERVER something' calls that switches to that cgroup first as
well.
Or is this something completly different?
Regards,
Adrian
-- LiHAS - Adrian Reyer - HessenwiesenstraĂe 10 - D-70565 Stuttgart Fon: +49 (7 11) 78 28 50 90 - Fax: +49 (7 11) 78 28 50 91 Mail: lihas_at_lihas.de - Web: http://lihas.de Linux, Netzwerke, Consulting & Support - USt-ID: DE 227 816 626 StuttgartReceived on Sat May 14 16:58:16 2011