[lxc-users] lxd not using cgmanager but cgfs instead

Serge Hallyn serge.hallyn at ubuntu.com
Mon Feb 15 18:35:03 UTC 2016


Quoting Zack Piper (zack at apertron.net):
> Hi,
> 
> Is is normal for lxd to use cgfs and not cgmanager?
> 
> I can tell it's using cgfs based on the log line:
>     lxc 1455545499.588 WARN     lxc_cgfs - cgfs.c:lxc_cgroup_get_container_info:1100 - Not attaching to cgroup hugetlb unknown to /var/lib/lxd/containers centos
> 
> I'm very much clueless about the architecture of LXD, but the above
> line is repeated for other thing such as cpu_set and friends, and
> results in the container not starting.
> 
> Thanks!

lxd doesn't really do anything with it, that's left up to lxc.
Since lxd runs as root, if lxcfs is being used, then most likely
you have liblxc built without cgmanager support.


More information about the lxc-users mailing list