Killing/removing defunct processes?
hi all
How can I kill/remove a defunct process (trying to read on from a chrashed NFS server) without rebooting? It really should be some sort of hack (extra kill argument?) to do this.
please
roy
Signature · 4 lines
Roy Sigurd Karlsbakk, Datavaktmester Computers are like air conditioners. They stop working when you open Windows.
Quoted 1 line · Roy Sigurd Karlsbakk
hi all
Hi Roy,
Quoted 5 lines
How can I kill/remove a defunct process (trying to read on from a chrashed NFS server) without rebooting? It really should be some sort of hack (extra kill argument?) to do this.
From nfs(5), mount options:
hard If an NFS file operation has a major timeout then report
"server not responding" on the console and continue retrying indefinitely. This is the default.
intr If an NFS file operation has a major timeout and it is hard
mounted, then allow signals to interupt the file operation and cause it to return EINTR to the calling program. The default is to not allow file operations to be interrupted.
You want both these options when mounting. It might be possible to do a "mount -o remount,intr /hung/nfs/mount" and then kill, but I'm not sure.
Signature · 1 line
ilmari
Hi,
Quoted 2 lines · Dagfinn Ilmari Mannsåker
You want both these options when mounting. It might be possible to do a "mount -o remount,intr /hung/nfs/mount" and then kill, but I'm not sure.
This should only make mount hang in D state, too.
Regards, Thunder
Signature · 7 lines
(Use http://www.ebb.org/ungeek if you can't decode) ------BEGIN GEEK CODE BLOCK------ Version: 3.12 GCS/E/G/S/AT d- s++:-- a? C++$ ULAVHI++++$ P++$ L++++(+++++)$ E W-$ N--- o? K? w-- O- M V$ PS+ PE- Y- PGP+ t+ 5+ X+ R- !tv b++ DI? !D G e++++ h* r--- y- ------END GEEK CODE BLOCK------