[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libvirt-users
Subject:    Re: is there a way to stop a domain in 'D' process state (uninterruptible) ?
From:       John Morris <jmorris () beau ! org>
Date:       2021-10-21 19:32:25
Message-ID: c6137cc0cefa8a89c18544467df98a354df7eac8.camel () beau ! org
[Download RAW message or body]


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.

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic