Your message dated Thu, 13 Aug 2015 11:10:27 +0200
with message-id <[email protected]>
and subject line Re: Bug#658428: libvirt-bin: leaking file descriptors
has caused the Debian Bug report #658428,
regarding libvirt-bin: leaking file descriptors
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
658428: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=658428
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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  

Lsof reports a lot of entries like:
libvirtd   3031       root   18u     unix 0xffff880176f44300        0t0    
6765380 socket
libvirtd   3031       root   19r     FIFO                0,8        0t0    
6765382 pipe
libvirtd   3031       root   20w     FIFO                0,8        0t0    
6765382 pipe
libvirtd   3031       root   21u     unix 0xffff88016275d200        0t0    
6769446 socket
libvirtd   3031       root   22r     FIFO                0,8        0t0    
6769448 pipe
libvirtd   3031       root   23w     FIFO                0,8        0t0    
6769448 pipe
libvirtd   3031       root   24u     unix 0xffff880176f46a00        0t0    
6773222 socket
libvirtd   3031       root   25r     FIFO                0,8        0t0    
6773224 pipe
libvirtd   3031       root   26w     FIFO                0,8        0t0    
6773224 pipe
libvirtd   3031       root   27u     unix 0xffff880176f71200        0t0    
6775961 socket
libvirtd   3031       root   28r     FIFO                0,8        0t0    
6775963 pipe
libvirtd   3031       root   29w     FIFO                0,8        0t0    
6775963 pipe
libvirtd   3031       root   30u     unix 0xffff88016275de00        0t0    
6778688 socket
libvirtd   3031       root   31r     FIFO                0,8        0t0    
6778690 pipe
libvirtd   3031       root   32w     FIFO                0,8        0t0    
6778690 pipe

-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (900, 'stable-updates'), (900, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libvirt-bin depends on:
ii  adduser            3.112+nmu2            add and remove users and groups
ii  gettext-base       0.18.1.1-3            GNU Internationalization utilities
ii  libavahi-client3   0.6.27-2+squeeze1     Avahi client library
ii  libavahi-common3   0.6.27-2+squeeze1     Avahi common library
ii  libblkid1          2.17.2-9              block device id library
ii  libc6              2.11.3-2              Embedded GNU C Library: Shared lib
ii  libcap-ng0         0.6.4-1               An alternate posix capabilities li
ii  libdevmapper1.02.1 2:1.02.48-5           The Linux Kernel Device Mapper use
ii  libgcrypt11        1.4.5-2               LGPL Crypto library - runtime libr
ii  libgnutls26        2.12.16-1             GNU TLS library - runtime library
ii  libnl1             1.1-6                 library for dealing with netlink s
ii  libnuma1           2.0.8~rc2-1           Libraries for controlling NUMA pol
ii  libparted0debian1  2.3-5                 The GNU Parted disk partitioning s
ii  libpcap0.8         1.1.1-2+squeeze1      system interface for user-level pa
ii  libpciaccess0      0.12.0-1              Generic PCI access library for X
ii  libreadline6       6.1-3                 GNU readline and history libraries
ii  libsasl2-2         2.1.23.dfsg1-7        Cyrus SASL - authentication abstra
ii  libudev0           164-3                 libudev shared library
ii  libvirt0           0.9.8-2               library for interfacing with diffe
ii  libxenstore3.0     4.0.1-4               Xenstore communications library fo
ii  libxml2            2.7.8.dfsg-2+squeeze2 GNOME XML library
ii  libyajl1           1.0.12-2              Yet Another JSON Library
ii  logrotate          3.7.8-6               Log rotation utility

Versions of packages libvirt-bin recommends:
ii  bridge-utils      1.4-5                  Utilities for configuring the Linu
ii  dmidecode         2.9-1.2                Dump Desktop Management Interface 
ii  dnsmasq-base      2.55-2                 A small caching DNS proxy and DHCP
ii  ebtables          2.0.9.2-2              Ethernet bridge frame table admini
ii  gawk              1:3.1.7.dfsg-5         GNU awk, a pattern scanning and pr
ii  iproute           20100519-3             networking and traffic control too
ii  iptables          1.4.12.2-1             administration tools for packet fi
ii  libxml2-utils     2.7.8.dfsg-2+squeeze2  XML utilities
ii  netcat-openbsd    1.89-4                 TCP/IP swiss army knife
ii  parted            2.3-5                  The GNU Parted disk partition resi
ii  qemu-kvm          0.12.5+dfsg-5+squeeze8 Full virtualization on x86 hardwar

Versions of packages libvirt-bin suggests:
pn  policykit-1                   <none>     (no description available)
ii  radvd                         1:1.6-1.1  Router Advertisement Daemon

-- Configuration Files:
/etc/libvirt/libvirtd.conf changed:
unix_sock_group = "libvirt"
unix_sock_ro_perms = "0777"
unix_sock_rw_perms = "0770"
auth_unix_ro = "none"
auth_unix_rw = "none"

/etc/libvirt/qemu.conf changed:
user = "eucalyptus"


-- no debconf information



--- End Message ---
--- Begin Message ---
version: libvirt/1.2.18-1

Hi,
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.

I rechecked with current libvirt _and_ xen and it doesn't leak:

# virsh -c xen:/// start j1
Domain j1 started
# lsof | grep libvirt | wc -l
2303
# virsh -c xen:/// destroy j1 
Domain j1 destroyed
# lsof | grep libvirt | wc -l
2279
# virsh -c xen:/// start j1
Domain j1 started
# lsof | grep libvirt | wc -l
2303
# virsh -c xen:/// destroy j1 
Domain j1 destroyed
# lsof | grep libvirt | wc -l
2279

so closing this, please reopen if you can still reproduce.
Cheers,
 -- Guido

--- End Message ---

Reply via email to