home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.internals
- Path: sparky!uunet!mcsun!dxcern!dxcern!kardanev
- From: kardanev@hanoi.cern.ch (A. Kardanev)
- Subject: Re: kill <exiting> processes
- In-Reply-To: dbrillha@dave.mis.semi.harris.com's message of Tue, 18 Aug 1992 13:28:19 GMT
- Message-ID: <KARDANEV.92Aug18161351@hanoi.cern.ch>
- Sender: news@dxcern.cern.ch (USENET News System)
- Organization: CERN, European Research Center for Particle Physics
- References: <Aug18.031258.52832@yuma.ACNS.ColoState.EDU>
- <1992Aug18.132819.23117@mlb.semi.harris.com>
- Date: Tue, 18 Aug 1992 15:13:51 GMT
- Lines: 30
-
- Nntp-Posting-Host: dave.mis.semi.harris.com
-
- >>>>> On Tue, 18 Aug 1992 13:28:19 GMT,
- >>dbrillha@dave.mis.semi.harris.com (Dave Brillhart) said: Does anyone
- >>know how to kill off "easily that is" these kinds of processes short
- >>of rebooting the machine. They are on a decstation 5000 and have
- >>been there for days. I have tried kill -9 (process id) but that
- >>does work
-
- |> <exiting> processes are simply waiting for their parent to reap
- |> them. One way to release their souls (remove the zombie) is to kill
- |> their parents - the OS then reappoints PID 1 as the zombie's
- |> parent. INIT (pid 1) will quickly reap the zombie processes.
-
- Hmm... From man page about ps(1):
- A process that has a parent and has exited, but for which the parent has
- not yet waited, is marked <defunct>. A process that is blocked trying
- to exit is marked <exiting>. The ps command determines the filename and
- arguments given when the process was created by examining memory or the
- swap area. The method is unreliable because, for example, a process
- can destroy this information. The filename and arguments ps displays
- might be incorrect.
- --
- -------------------------------------------------------------------------
- KARDANEV Alexandre | SL Division
- Email: kardanev@hanoi.cern.ch | Building 864, 1-A02
- Work: + 41-22-767-5158 | CERN 1211 Geneva 23
- + 41-22-767-5165 | Switzerland
- Home: + 33-50-42-95-77 |
- -------------------------------------------------------------------------
-