[lxc-users] lxd - autostart unreliable on busy servers

Tomasz Chmielewski mangoo at wpkg.org
Sun Jan 24 10:14:55 UTC 2016


When I restart a busy server (running several containers, creating 100% 
IO load for about 10 mins after start), my lxd containers do not 
autostart reliably.

If I start them manually later on, they start fine (although "lxc start 
containername" needs a while to return).


Is there a way to make lxd autostart more reliable? Perhaps it's some 
kind of timeout which needs to be increased somewhere?



In the log, I can see:

             lxc 1453630080.796 ERROR    lxc_cgmanager - 
cgmanager.c:cgm_dbus_connect:176 - Error cgroup manager api version: Did 
not receive a reply. Possible causes include: the remote application did 
not send a reply, the message bus security policy blocked the reply, the 
reply timeout expired, or the network connection was broken.
             lxc 1453630080.796 ERROR    lxc_cgmanager - 
cgmanager.c:do_cgm_get:872 - Error connecting to cgroup manager
             lxc 1453630080.797 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:989 - do_cgm_get exited with error
             lxc 1453630080.799 DEBUG    lxc_cgmanager - 
cgmanager.c:cgm_dbus_connect:152 - Failed opening dbus connection: 
org.freedesktop.DBus.Error.NoServer: Failed to connect to socket 
/sys/fs/cgroup/cgmanager/sock: Connection refused
             lxc 1453630080.799 ERROR    lxc_cgmanager - 
cgmanager.c:do_cgm_get:872 - Error connecting to cgroup manager
             lxc 1453630080.799 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:989 - do_cgm_get exited with error
             lxc 1453630081.096 DEBUG    lxc_cgmanager - 
cgmanager.c:cgm_dbus_connect:152 - Failed opening dbus connection: 
org.freedesktop.DBus.Error.NoServer: Failed to connect to socket 
/sys/fs/cgroup/cgmanager/sock: Connection refused
             lxc 1453630081.097 ERROR    lxc_cgmanager - 
cgmanager.c:do_cgm_get:872 - Error connecting to cgroup manager
             lxc 1453630081.097 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:989 - do_cgm_get exited with error
             lxc 1453630085.958 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type u nsid 0 hostid 100000 
range 65536
             lxc 1453630085.958 INFO     lxc_confile - 
confile.c:config_idmap:1437 - read uid map: type g nsid 0 hostid 100000 
range 65536
             lxc 1453630085.960 DEBUG    lxc_cgmanager - 
cgmanager.c:cgm_dbus_connect:152 - Failed opening dbus connection: 
org.freedesktop.DBus.Error.NoServer: Failed to connect to socket 
/sys/fs/cgroup/cgmanager/sock: Connection refused
             lxc 1453630085.960 ERROR    lxc_cgmanager - 
cgmanager.c:do_cgm_get:872 - Error connecting to cgroup manager
             lxc 1453630085.961 WARN     lxc_cgmanager - 
cgmanager.c:cgm_get:989 - do_cgm_get exited with error




Tomasz Chmielewski
http://wpkg.org



More information about the lxc-users mailing list