Le mercredi 15 juillet 2009 12:46:53, Herbert Poetzl a �crit :
> On Wed, Jul 15, 2009 at 09:58:52AM +0200, xavier de poorter wrote:
> > Le mardi 14 juillet 2009 19:19:06, Daniel Hokka Zakrisson a �crit :
> > > xavier de poorter wrote:
> > > > <snip>
> > > You are using cgroups, so use the cgroup support in util-vserver.
> > > E.g.
> > >
> > > # To make the util-vserver initscript do all the necessary setup.
> > > mkdir /etc/vservers/.defaults/cgroup
> > > # Reboot, or rerun it.
> > > /etc/init.d/util-vserver restart
> > > mkdir /etc/vservers/test/cgroup
> > > echo 1 > /etc/vservers/test/cgroup/cpuset.cpus
> > > echo 0 > /etc/vservers/test/cgroup/cpuset.mems
>
> > i mount none -t cpuset /dev/cpuset and if i lauch a vserver with a
> > configured cpuset, it works fine
> > thank you
>
> > > my first litle bug report
> > the bug was beetwen my chair and my computer ...
> > sorry
>
> > after a vserver started, when i use cpuset, each new process is
> > automaticly added to /dev/cpuset/test/tasks
>
> > idem when i use cgroup except when i do "vserver test enter" and lauch
> > ia program (same for "vserver test exec a_cmd") f i enter in the
> > ivserver with ssh root@test and i run something : all is ok
>
> > is it normal ?
>
> for the outdated and known broken debian util-vserver
> version probably yes, verify this with a recent version
> and if the issue remains, please file a bug report to
> savannah ...
what is your current util-vserver production version ?
i compiled http://people.linux-vserver.org/~dhozac/t/uv-testing/util-vserver-0.30.216-pre2841.tar.bz2
vserver-info
Versions:
Kernel: 2.6.29.6-0.4-grsec2.1.14-vs2.3.0.36.14
VS-API: 0x00020304
util-vserver: 0.30.216-pre2841; Jul 15 2009, 16:28:08
and after a vserver started, when i use cgroup, each new process is
automaticly added to /dev/cpuset/test/tasks ;)
best regards,
xavier de poorter
Received on Wed Jul 15 17:57:42 2009