[lxc-users] Strange cgroup layout?

Serge Hallyn serge.hallyn at ubuntu.com
Thu Apr 10 20:55:05 UTC 2014


Quoting Nels Nelson (nels.n.nelson at gmail.com):
> On Thu, Apr 10, 2014 at 3:34 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:
> >
> > No I mean what does /sys/fs/cgroup look like on the host?
> >
> 
> Oh.  https://gist.github.com/nelsnelson/10419812

Ah, right.  So on the host you have all the cgroups co-mounted, and
so lxc is doing a separate bind mount for each controller.  A bit
superfluous, but much easier to reason about :)

> Look at the lxc.mount.auto section of lxc.container.conf(5).  It
> > explains cgroup:ro, cgroup:mixed, cgroup:rw, and cgroup-full.
> 
> 
> Awesome, thank you!
> 
> -Nels

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list