[libvirt] [PATCH 0/3] Fix scalability of LXC containers

Daniel P. Berrange berrange at redhat.com
Fri Oct 11 15:19:20 UTC 2013


From: "Daniel P. Berrange" <berrange at redhat.com>

Since we switched to use systemd for creating cgroups we have a
scalability problem with LXC out of the box. Only ~230 containers
can be created before we hit the default dbus-daemon connection
limit. This series makes libvirt_lxc close its dbus connection
once the guest has started, avoiding the problem.

Daniel P. Berrange (3):
  Allow use of a private dbus bus connection
  Add a method for closing the dbus system bus connection
  Make LXC controller use a private dbus connection & close it

 src/Makefile.am          |  1 +
 src/libvirt_private.syms |  2 ++
 src/lxc/lxc_controller.c |  9 +++++++++
 src/util/virdbus.c       | 28 +++++++++++++++++++++++++++-
 src/util/virdbus.h       |  3 +++
 5 files changed, 42 insertions(+), 1 deletion(-)

-- 
1.8.3.1




More information about the libvir-list mailing list