[Pkg-libvirt-maintainers] Bug#564902: virt-manager should cleanup before leaving
Harald Dunkel
harald.dunkel at aixigo.de
Tue Jan 12 15:33:53 UTC 2010
Package: virt-manager
Version: 0.8.2-1
Severity: important
To connect to remote kvm hosts via virt-manager I use
qemu+ssh://hdunkel@hostname/system
Problem: virt-manager does not terminate the remote helper
applications on exit. After 20 virt-manager sessions I see
20 processes writing to the Unix socket:
% ps -ef | grep vir | grep soc[k]
hdunkel 1388 1 0 2009 ? 00:00:01 nc -U /var/run/libvirt/libvirt-sock
hdunkel 2725 1 0 2009 ? 00:00:04 nc -U /var/run/libvirt/libvirt-sock
hdunkel 6015 1 0 2009 ? 00:00:07 nc -U /var/run/libvirt/libvirt-sock
hdunkel 6351 1 0 2009 ? 00:09:13 nc -U /var/run/libvirt/libvirt-sock
hdunkel 6487 6486 0 Jan11 ? 00:01:42 nc -U /var/run/libvirt/libvirt-sock
hdunkel 8357 1 0 2009 ? 00:00:00 nc -U /var/run/libvirt/libvirt-sock
hdunkel 8959 1 0 2009 ? 00:00:49 nc -U /var/run/libvirt/libvirt-sock
hdunkel 15585 1 0 2009 ? 00:00:02 nc -U /var/run/libvirt/libvirt-sock
hdunkel 15600 1 0 2009 ? 00:07:08 nc -U /var/run/libvirt/libvirt-sock
hdunkel 17042 1 0 2009 ? 00:00:01 nc -U /var/run/libvirt/libvirt-sock
hdunkel 18884 1 0 2009 ? 00:00:03 nc -U /var/run/libvirt/libvirt-sock
hdunkel 23735 1 0 Jan04 ? 00:03:42 nc -U /var/run/libvirt/libvirt-sock
hdunkel 24588 1 0 2009 ? 00:00:08 nc -U /var/run/libvirt/libvirt-sock
hdunkel 24626 1 0 2009 ? 00:00:00 nc -U /var/run/libvirt/libvirt-sock
hdunkel 25234 1 0 2009 ? 00:00:04 nc -U /var/run/libvirt/libvirt-sock
hdunkel 27183 1 0 Jan07 ? 00:00:07 nc -U /var/run/libvirt/libvirt-sock
hdunkel 27377 1 0 2009 ? 00:00:00 nc -U /var/run/libvirt/libvirt-sock
hdunkel 27969 1 0 2009 ? 00:00:00 nc -U /var/run/libvirt/libvirt-sock
hdunkel 30700 1 0 2009 ? 00:00:00 nc -U /var/run/libvirt/libvirt-sock
hdunkel 31233 1 0 2009 ? 00:01:13 nc -U /var/run/libvirt/libvirt-sock
This is fatal, because 20 is the max. On further attempts to
run virt-manager or virsh or any other libvirt tool I get
error: cannot recv data: Connection reset by peer
error: failed to connect to the hypervisor
Virsh ("virsh -c qemu+ssh://hdunkel@hostname/system") terminates
the remote helper as expected, so I would assume this is something
specific for virt-manager.
Nc is from netcat-openbsd version 1.89-3.
Regards
Harri
More information about the Pkg-libvirt-maintainers
mailing list