[lxc-users] Strange cgroup layout?
serge.hallyn at ubuntu.com
Thu Apr 10 20:34:27 UTC 2014
Quoting Nels Nelson (nels.n.nelson at gmail.com):
> On Thu, Apr 10, 2014 at 3:18 PM, Serge Hallyn <serge.hallyn at ubuntu.com>wrote:
> > So how does it look on the host?
> Looks pretty norma from the host perspective. Path with
> /sys/fs/cgroup/lxc/outer/lxc/inner seems to have all the expected control
No I mean what does /sys/fs/cgroup look like on the host?
> group settings in it. I was just wondering why all those links are being
> used inside the individual container's /sys/fs/cgroup directory. I'd like
Look at the lxc.mount.auto section of lxc.container.conf(5). It
explains cgroup:ro, cgroup:mixed, cgroup:rw, and cgroup-full.
> to better understand why lxc sets them up that way, and why the container's
> /sys/fs/cgroup directory doesn't resemble the host's.
> And what are you using to set it up?
> Just lxc, I guess. I presume lxc sets this up upon creation when it
> encounters "lxc.mount.auto = cgroup" in the config.
> Perhaps I neglected to read some documentation somewhere. Can you point it
> out to me?
> Thank you,
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
More information about the lxc-users