[lxc-users] using cgroups

Serge E. Hallyn serge at hallyn.com
Fri Jul 1 23:28:16 UTC 2016


Quoting rob e (redgerhoo at yahoo.com.au):
> On 02/07/16 01:02, Serge E. Hallyn wrote:
> >Quoting rob e (redgerhoo at yahoo.com.au):
> >>On 01/07/16 10:58, Serge E. Hallyn wrote:
> >>>Quoting rob e (redgerhoo at yahoo.com.au):
> >>>Let's address them one at a time.  For starters,
> >>>
> >>>if you only leave in the
> >>>	lxc.cgroup.cpuset.cpus = 1-3
> >>>does that now work?  If not, please post the log output to show exactly
> >>>how it fails.
> >>>And if you only have
> >>>	lxc.cgroup.memory.limit_in_bytes = 4G
> >>>how does that fail, exactly?
> >>>
> >>>Also, what is /proc/self/cgroup now when you login?
> >>>
> >>>_______________________________________________
> >>>lxc-users mailing list
> >>>lxc-users at lists.linuxcontainers.org
> >>>http://lists.linuxcontainers.org/listinfo/lxc-users
> >>hi Serge,
> >>thanks for the response, data follows
> >>
> >Wait, why is it still showing this error?  You don't
> >have any lxc.cgroup.deivces in the above config!
> >
> >Can you please show
> >
> >/usr/share/lxc/config/ubuntu.common.conf
> >/usr/share/lxc/config/ubuntu.userns.conf
> >
> >?
> >_______________________________________________
> >lxc-users mailing list
> >lxc-users at lists.linuxcontainers.org
> >http://lists.linuxcontainers.org/listinfo/lxc-users
> okey dokes, here they are (plus the direct "include" elements)

Thanks.  Yeah, this is making no sense.  There should be no
lxc.cgroup.devices.*.  Can you add

lxc.cgroup.devices.allow =
lxc.cgroup.devices.deny =

to the end of your config and try again?


More information about the lxc-users mailing list