Re: [vserver] cgroups soon incompatible with Libvirt

From: Sergiusz Pawlowicz <sergiusz_at_pawlowicz.name>
Date: Thu 26 Dec 2013 - 04:56:38 GMT
Message-ID: <CAPRDrAFY8MHsJ1gr7QZBMktjwZZwsrdaLqsG8HWzYfKgw4UJWA@mail.gmail.com>

On Wed, Dec 25, 2013 at 8:46 AM, Ben Green <ben@bristolwireless.net> wrote:
> Quoting Sergiusz Pawlowicz <sergiusz@pawlowicz.name>:
>
>
>>
>> I am not sure how to fix it and enable the structure suggested by Daniel.
>
>
> In order that util-vserver has matching settings I'd do this:
>
> service util-vserver stop
> mount -t tmpfs cgroup_root /sys/fs/cgroup
> touch /etc/vservers/.defaults/cgroup/per-ss
> echo "/sys/fs/cgroup" > /etc/vservers/.defaults/cgroup/mnt
> service util-vserver start
>
> The tmpfs mount ensures that util-vserver can create the necessary
> directories.
>
> No idea how you'd get this to work on boot with whatever other process you
> have mounting the cgroup hierachy.

Hi Ben,
cgroups work well after your help :-) But mount -t tmpfs cgroup_root
/sys/fs/cgroup was not required, as ubuntu sets it automatically
during the startup, using some magic and then
/usr/sbin/create_default_cgroups

Thanks a lot!
Serge
Received on Thu Dec 26 04:57:25 2013

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 26 Dec 2013 - 04:57:25 GMT by hypermail 2.1.8