is there a way to stop a domain in 'D' process state (uninterruptible) ?

John Morris jmorris at beau.org
Thu Oct 21 19:32:25 UTC 2021


On Thu, 2021-10-21 at 18:08 +0200, Lentes, Bernd wrote:
> Hi,
> 
> how can i stop/shutdown a domain which is in process state 'D' ?
> 'D' means uninterruptible and a process in 'D' can't be terminated by
> kill, even not with kill -9.

D means it is dead, the process will never be scheduled to execute
again, but there is still pending I/O waiting to settle.  Use fuser
and/or look in /proc/{pid}/fd to see what could be holding up the final 
termination.  Network mounts and sockets are a likely suspect.  Think it
can also happen if the parent process won't accept the SIGCHLD signal
since that also counts as I/O that has to finish before the final
reaping of process resources.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20211021/c6881764/attachment.sig>


More information about the libvirt-users mailing list