libvirtd stops responding in oneiric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Fedora) |
Fix Released
|
Undecided
|
|||
libvirt (Ubuntu) |
Fix Released
|
High
|
Chuck Short | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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(0x7f2f0b9
$ sudo strace -p 16389
Process 16389 attached - interrupt to quit
futex(0x7f2f0f9
= System Information =
$ cat /etc/lsb-release·
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ 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(0x7f0238c
$ sudo strace -p 6053
Process 6053 attached - interrupt to quit
futex(0x7f0234c
$ sudo fuser /var/run/
/run/libvirt/
$ sudo fuser /var/run/
/run/libvirt/
$ sudo lsof /var/run/
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
libvirtd 6053 root 10u unix 0xffff8805f61b3740 0t0 78644591 /var/run/
libvirtd 6053 root 33u unix 0xffff8805f61b6b40 0t0 78643065 /var/run/
Swap (from /proc/$pid/smaps):
1672 kB - 27262 (libvirtd)
1684 kB - 6053 (libvirtd)
= System Information =
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
$ 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
Changed in libvirt (Ubuntu): | |
status: | Incomplete → New |
tags: | added: canonistack |
summary: |
- libvirtd stops responding + libvirtd stops responding in oneiric |
Changed in libvirt (Fedora): | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
Description of problem:
Not exactly sure how to reproduce the problem. I am doing quite a bit of heavy development that uses libvirt. The libvirtd.log file prints out:
11:25:21.784: 24375: error : virNetServerDis patchNewClient: 220 : Too many active clients (20), dropping connection from 127.0.0.1;0 dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error dWire:912 : End of file while reading data: Input/output error
11:25:23.926: 24375: error : virNetSocketRea
11:25:23.926: 24375: error : virNetSocketRea
11:25:23.926: 24375: error : virNetSocketRea
11:25:23.926: 24375: error : virNetSocketRea
11:25:23.926: 24375: error : virNetSocketRea
11:25:23.926: 24375: error : virNetSocketRea
11:25:23.935: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.648: 24375: error : virNetSocketRea
11:25:41.655: 24375: error : virNetSocketRea
11:25:41.656: 24375: error : virNetSocketRea
11:25:41.656: 24375: error : virNetSocketRea
11:25:41.656: 24375: error : virNetSocketRea
11:33:39.736: 24375: error : virNetSocketRea
11:33:39.736: 24375: error : virNetSocketRea
A second process is spawned by libvirt as well:
root 22049 24375 0 11:49 ? 00:00:00 libvirtd --daemon
root 22353 22671 0 11:58 pts/4 00:00:00 grep --color=auto libvirt
root 24375 1 2 11:00 ? 00:01:40 libvirtd --daemon
kill -9 of the non-init parented libvirt unsticks the system ie:
[root@beast libvirt]# kill -9 22049
Then things start working again.
Version-Release number of selected component (if applicable): 0.9.6-2. fc16.x86_ 64 python- 0.9.6-2. fc16.x86_ 64 client- 0.9.6-2. fc16.x86_ 64
[root@beast libvirt]# rpm -qa | grep libvirt
libvirt-
libvirt-
libvirt-
How reproducible:
hard to reproduce
Steps to Repr...