[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] simple LXC/libvirt busybox container (Unable to get cgroup)



On Thu, Dec 10, 2009 at 09:45:03PM +0900, Ryota Ozaki wrote:
> On Thu, Dec 10, 2009 at 9:36 PM, Daniel P. Berrange <berrange redhat com> wrote:
> >
> > What you do mean by 'ns' subsystem ?
> 
> 'ns' is one of functions of cgroups like such as devices, memory,
> cpu, etc. and it is enabled if you mount cgroup without any options
> that Tony is doing.
> 
> >
> >
> > # grep cgroup /proc/mounts
> > cgroup /dev/cgroups/cpu cgroup rw,relatime,cpuacct,cpu 0 0
> > cgroup /dev/cgroups/memory cgroup rw,relatime,memory 0 0
> > cgroup /dev/cgroups/devices cgroup rw,relatime,devices 0 0
> 
> Oh, you don't enable 'ns', so yes, things go fine in your environment.

I added the 'ns' controller as another mount poiint, and weirdly
everything still worked. It was only when i rebooted and mounted
everything at the same mount point that it stopped working. I'll
investigate why this is & try and come up with a fix for 'ns'

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]