Public bug reported:

I am running libvirtd to control qemu/kvm machines (via openstack nova-
compute) and have found that a long-running libvirtd daemon eventually
stops responding to commands.

Admittedly, these systems are a little loaded, however I do not expect
libvirtd to stop responding entirely. Please let me know if there is any
further information that you require?

Restarting libvirtd as a work-around allows libvirtd to start responding
again.

== Server A ==

= Process Information =

$ time sudo virsh -c qemu:///system list
^C
real    0m30.094s
user    0m0.000s
sys     0m0.000s

$ ps axuwwwf | grep libvirtd
root     15606  0.1  0.0 276984  4564 ?        Sl   Nov22  32:04 
/usr/sbin/libvirtd -d
root     16389  0.0  0.0 276984  3552 ?        S    Dec04   0:00  \_ 
/usr/sbin/libvirtd -d

$ sudo strace -p 15606
Process 15606 attached - interrupt to quit
futex(0x7f2f0b91b9d0, FUTEX_WAIT, 15607, NULL

$ sudo strace -p 16389
Process 16389 attached - interrupt to quit
futex(0x7f2f0f980e28, FUTEX_WAIT_PRIVATE, 2, NULL

= System Information =

$ cat /etc/lsb-releaseĀ·
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

$ dpkg -l | grep libvirt
ii  libvirt-bin                     0.9.2-4ubuntu15.1                          
the programs for the libvirt library
ii  libvirt0                        0.9.2-4ubuntu15.1                          
library for interfacing with different virtualization systems

== Server B ==

= Process Information =

$ time sudo virsh -c qemu:///system list
^C
real    0m34.162s
user    0m0.000s
sys     0m0.010s

root      6053  0.1  0.0 277132  3344 ?        Sl   Dec05  12:51 
/usr/sbin/libvirtd -d
root     27262  0.0  0.0 277132  2132 ?        S    Dec10   0:00  \_ 
/usr/sbin/libvirtd -d

$ sudo strace -p 27262
Process 27262 attached - interrupt to quit
futex(0x7f0238cf6e28, FUTEX_WAIT_PRIVATE, 2, NULL

$ sudo strace -p 6053
Process 6053 attached - interrupt to quit
futex(0x7f0234c919d0, FUTEX_WAIT, 6054, NULL

$ sudo fuser /var/run/libvirt/libvirt-sock
/run/libvirt/libvirt-sock:  6053

$ sudo fuser /var/run/libvirt/libvirt-sock-ro
/run/libvirt/libvirt-sock-ro:  6053

$ sudo lsof /var/run/libvirt/libvirt-sock
COMMAND   PID USER   FD   TYPE             DEVICE SIZE/OFF     NODE NAME
libvirtd 6053 root   10u  unix 0xffff8805f61b3740      0t0 78644591 
/var/run/libvirt/libvirt-sock
libvirtd 6053 root   33u  unix 0xffff8805f61b6b40      0t0 78643065 
/var/run/libvirt/libvirt-sock

Swap (from /proc/$pid/smaps):

1672 kB - 27262 (libvirtd)
1684 kB - 6053 (libvirtd)

= System Information =

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"

$ dpkg -l | grep libvirt
ii  libvirt-bin                     0.9.2-4ubuntu15.1                       the 
programs for the libvirt library
ii  libvirt0                        0.9.2-4ubuntu15.1                       
library for interfacing with different virtualization systems

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/903212

Title:
  libvirtd stops responding

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/903212/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to