public:trouble:libvirtd
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:trouble:libvirtd [2017/01/12 10:51] – [Solution] moved a block wiki.manager | public:trouble:libvirtd [2017/01/12 10:54] (current) – [Failure cause] wiki.manager | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Hanging process ' | ||
+ | ==== Error description ==== | ||
+ | A running daemon ' | ||
+ | Sometimes the process becomes inaccessible: | ||
+ | root@kvm55: | ||
+ | 7691 ? Zl 0:00 [libvirtd] < | ||
+ | As ' | ||
+ | ==== Failure cause ==== | ||
+ | The error cause is unknown. It was once observed after an auto-restart of the service ' | ||
+ | Administration experience on Systems with Ubuntu 14.04 indicated, that a hanging libvirtd is more likely when libvirt-bin is restarted like so: | ||
+ | service libvirt-bin restart | ||
+ | There are no experiences with Ubuntu 16.04 yet regarding this error. | ||
+ | ==== Solution ==== | ||
+ | To avoid the error on manual restart of libvirt-bin, | ||
+ | / | ||
+ | |||
+ | Hanging processes can be killed by killing their parent process unless the parent process is the init (1) process: | ||
+ | root@kvm55: | ||
+ | UID PID PPID C STIME TTY TIME CMD | ||
+ | root 7691 | ||
+ | The only known solution is a reboot of the KVM host thus interrupting all running vhosts. | ||
+ | |||
+ | The vhosts remain running while ' | ||
+ | |||
+ | During reboot of the kvm host the downtime for a vhost can be shortened by the following steps: | ||
+ | - Define the vhost on another KVM host with access to the virtual disk(s) of the vhost. | ||
+ | - Shut down the vhost from inside the vhost. | ||
+ | - Once the vhost is down start the vhost on the other KVM host. | ||
+ | |||
+ | [[public: |