All of lore.kernel.org
 help / color / mirror / Atom feed
* Killing/removing defunct processes?
@ 2002-07-15 12:42 Roy Sigurd Karlsbakk
  2002-07-15 13:30 ` Dagfinn Ilmari Mannsåker
  0 siblings, 1 reply; 3+ messages in thread
From: Roy Sigurd Karlsbakk @ 2002-07-15 12:42 UTC (permalink / raw)
  To: Kernel mailing list

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
-- 
Roy Sigurd Karlsbakk, Datavaktmester

Computers are like air conditioners.
They stop working when you open Windows.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Killing/removing defunct processes?
  2002-07-15 12:42 Killing/removing defunct processes? Roy Sigurd Karlsbakk
@ 2002-07-15 13:30 ` Dagfinn Ilmari Mannsåker
  2002-07-15 18:41   ` Thunder from the hill
  0 siblings, 1 reply; 3+ messages in thread
From: Dagfinn Ilmari Mannsåker @ 2002-07-15 13:30 UTC (permalink / raw)
  To: Roy Sigurd Karlsbakk; +Cc: linux-kernel

Roy Sigurd Karlsbakk <roy@karlsbakk.net> writes:

> hi all
Hi Roy,
 
> 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.

-- 
ilmari

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Killing/removing defunct processes?
  2002-07-15 13:30 ` Dagfinn Ilmari Mannsåker
@ 2002-07-15 18:41   ` Thunder from the hill
  0 siblings, 0 replies; 3+ messages in thread
From: Thunder from the hill @ 2002-07-15 18:41 UTC (permalink / raw)
  To: Dagfinn Ilmari Mannsåker; +Cc: Roy Sigurd Karlsbakk, linux-kernel

Hi,

On 15 Jul 2002, Dagfinn Ilmari Mannsåker wrote:
> 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
-- 
(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------


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-07-15 18:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-15 12:42 Killing/removing defunct processes? Roy Sigurd Karlsbakk
2002-07-15 13:30 ` Dagfinn Ilmari Mannsåker
2002-07-15 18:41   ` Thunder from the hill

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.