retitile 658428 libvirtd: leaking file descriptors with xen hypervisor thanks
On Thu, Feb 02, 2012 at 11:08:51PM +0100, Maciej Galkiewicz wrote: > Package: libvirt-bin > Version: 0.9.8-2 > Severity: important > > This bug looks like: https://bugzilla.redhat.com/show_bug.cgi?id=639581 > I have also tried libvirt 0.8.3-5+squeeze2 and 0.8.8-3. All versions are > affected. > > # lsof | grep libvirt | wc -l > 1183 > root@n3c1:/home/maciek# virsh list > 2012-02-02 21:58:39.081+0000: 25199: info : libvirt version: 0.9.8 > 2012-02-02 21:58:39.081+0000: 25199: warning : > xenHypervisorMakeCapabilities:2748 : Failed to get host power management > capabilities > Id Name State > ---------------------------------- > 0 Domain-0 running > > root@n3c1:/home/maciek# lsof | grep libvirt | wc -l > 1186 > root@n3c1:/home/maciek# virsh list > 2012-02-02 21:58:44.237+0000: 25213: info : libvirt version: 0.9.8 > 2012-02-02 21:58:44.237+0000: 25213: warning : > xenHypervisorMakeCapabilities:2748 : Failed to get host power management > capabilities > Id Name State > ---------------------------------- > 0 Domain-0 running > > root@n3c1:/home/maciek# lsof | grep libvirt | wc -l > 1189 > > # python > Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) > [GCC 4.4.5] on linux2 > Type "help", "copyright", "credits" or "license" for more information. > >>> def openclose(): > ... c = libvirt.open('xen:///') > ... c.close() > ... > >>> import os > >>> import libvirt > >>> openclose() > 2012-01-29 23:08:32.146+0000: 6293: warning : > xenHypervisorMakeCapabilities:2748 : Failed to get host power management > capabilities > >>> os.system('lsof -p %d | wc -l' % os.getpid()) > 52 > 0 > >>> os.system('lsof -p %d | wc -l' % os.getpid()) > 52 > 0 > >>> openclose() > 2012-01-29 23:08:39.939+0000: 6293: warning : > xenHypervisorMakeCapabilities:2748 : Failed to get host power management > capabilities > >>> os.system('lsof -p %d | wc -l' % os.getpid()) > 55 > 0 > >>> openclose() > 2012-01-29 23:08:47.507+0000: 6293: warning : > xenHypervisorMakeCapabilities:2748 : Failed to get host power management > capabilities > >>> os.system('lsof -p %d | wc -l' % os.getpid()) > 58 > 0 This isn't reproducible with qemu. Can somebody using xen:/// recheck please? Cheers, -- Guido -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org