Any trick to remove a D-state dead process without rebooting?

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Wed Dec 6 10:08:18 EST 2017


On Wed, 06 Dec 2017 10:07:44 +0700, Mulyadi Santosa said:

> If it is indeed coming from nfs mount, check if it is mounted in
> synchronous mode, and try to switch to async. See if it made any differences

Do note that async mode, due to how it works, *does* open a possibility
of data loss - on a write, the remote NFS server can say "done" immediately,
but then crash before committing the write to disk.

However, being stuck in 'D' state means the remote server didn't reply
at all, so that won't help much, especially for already-hung processes.

Also:  In this case, 'cat /proc/mounts' is your friend - using 'df' to see what's
mounted will almost certainly also hang.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20171206/a0807214/attachment.bin 


More information about the Kernelnewbies mailing list