Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 1995 09:46:52 -0400
From:      "Garrett A. Wollman" <wollman@lcs.mit.edu>
To:        Brian Litzinger <brian@MediaCity.com>
Cc:        freebsd-questions@freebsd.org
Subject:   indestructible processes won't die
Message-ID:  <9510181346.AA05143@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199510180856.BAA03424@MediaCity.com>
References:  <199510180856.BAA03424@MediaCity.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Wed, 18 Oct 1995 01:56:26 -0700 (PDT), Brian Litzinger <brian@MediaCity.com> said:

>   PID TT  STAT      TIME COMMAND
> 26783 p6- IEs    0:00.31  (zsh)
> 26795 p6- IE+    0:24.38 pine      

> These processes running on pseudo tty p6 will not die.  A kill
> and kill -9 have no affect on them.

The reason `kill' has no effect is because they are already trying
hard to exit, but have gotten blocked for some reason.  This can
happen for a number of reasons:

	- dirty mmap()ed data structures getting unmapped
	- tty is trying to drain but prevented from doing so
	- the close of open files is blocking
	- the write of accounting records is blocking

> Why are they stuck? And how does one unstuck them?

Fix the cause of the block, or reboot.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9510181346.AA05143>