From owner-freebsd-questions Wed Oct 18 06:46:57 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id GAA01848 for questions-outgoing; Wed, 18 Oct 1995 06:46:57 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id GAA01843 for ; Wed, 18 Oct 1995 06:46:55 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA05143; Wed, 18 Oct 1995 09:46:52 -0400 Date: Wed, 18 Oct 1995 09:46:52 -0400 From: "Garrett A. Wollman" Message-Id: <9510181346.AA05143@halloran-eldar.lcs.mit.edu> To: Brian Litzinger Cc: freebsd-questions@freebsd.org Subject: indestructible processes won't die In-Reply-To: <199510180856.BAA03424@MediaCity.com> References: <199510180856.BAA03424@MediaCity.com> Sender: owner-questions@freebsd.org Precedence: bulk < 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