Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* Defunct processes
@ 1995-11-02  5:00 Matt Beare
  0 siblings, 0 replies; 6+ messages in thread
From: Matt Beare @ 1995-11-02  5:00 UTC (permalink / raw)


We are running DEC OSF/1 v3.0 on a number of Alpha AXP 3000's and have been
experiencing a lot of difficulties with <defunct> processes being generated
and clogging up the system.  In most cases the parent of these processes is
the root process /sbin/init (pid=1).

The man pages indicate that the only way to rid the system of these processes
is to kill the parent process, but we can't do that to the /sbin/init
process without taking the system down.  Or can we ?

Does anyone know of a way to kill these defunct processes without having to
reboot the machine.

Thanks,

Matt Beare.
-----------------
M.Beare@uea.ac.uk
Computing Centre
University of East Anglia






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

* Re: defunct processes
  1998-12-09  5:00 defunct processes cecil
@ 1998-12-08  5:00 ` G. Barbosa
  1998-12-09  5:00   ` Matthias Buelow
  0 siblings, 1 reply; 6+ messages in thread
From: G. Barbosa @ 1998-12-08  5:00 UTC (permalink / raw)


I have ran into this problem, and have been told that it is
a result of a "kill -9". When you have to resort to it, the
child process of the parent has no where to respond and
indicate a termination which results in these ghost
processes, that you cant kill... I anyone knows how to get
rid of them, I sure would like some insight.

cecil wrote:
> 
> I appear to be getting a number of 'defunct' tasks on my Digital OSF3.2c
> box.
> What does this mean, and what causes it?
> 
> Thanks
> cecil@hunmanby.demon.co.uk

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Gabriel Barbosa                   gbarbosa@mail.hac.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



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

* defunct processes
@ 1998-12-09  5:00 cecil
  1998-12-08  5:00 ` G. Barbosa
  0 siblings, 1 reply; 6+ messages in thread
From: cecil @ 1998-12-09  5:00 UTC (permalink / raw)


I appear to be getting a number of 'defunct' tasks on my Digital OSF3.2c
box.
What does this mean, and what causes it?

Thanks
cecil@hunmanby.demon.co.uk






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

* Re: defunct processes
  1998-12-08  5:00 ` G. Barbosa
@ 1998-12-09  5:00   ` Matthias Buelow
  1998-12-14  5:00     ` j baker
  0 siblings, 1 reply; 6+ messages in thread
From: Matthias Buelow @ 1998-12-09  5:00 UTC (permalink / raw)


In article <366DFB4F.C1585E5C@X-147-17-133-52.es.hac.com>
"G. Barbosa" <gbarbosa@X-147-17-133-52.es.hac.com> writes:

>I have ran into this problem, and have been told that it is
>a result of a "kill -9". When you have to resort to it, the
>child process of the parent has no where to respond and
>indicate a termination which results in these ghost
>processes, that you cant kill... I anyone knows how to get
>rid of them, I sure would like some insight.

No, if the parent process properly wait()s the child, this
isn't a problem.  To get rid of zombies (aka "defunct" processes),
kill the parent process.  On Digital UNIX, you can obtain the
parent process ID with "ps O ppid", for example.

-- 
  Matthias K. Buelow      * Boycott Micro$oft, see http://www.vcnet.com/bms/ *



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

* Re: defunct processes
  1998-12-09  5:00   ` Matthias Buelow
@ 1998-12-14  5:00     ` j baker
  1998-12-14  5:00       ` Matthias Buelow
  0 siblings, 1 reply; 6+ messages in thread
From: j baker @ 1998-12-14  5:00 UTC (permalink / raw)


Bad application might not be killing its children when it terminates.

Matthias Buelow wrote in message ...
>In article <366DFB4F.C1585E5C@X-147-17-133-52.es.hac.com>
>"G. Barbosa" <gbarbosa@X-147-17-133-52.es.hac.com> writes:
>
>>I have ran into this problem, and have been told that it is
>>a result of a "kill -9". When you have to resort to it, the
>>child process of the parent has no where to respond and
>>indicate a termination which results in these ghost
>>processes, that you cant kill... I anyone knows how to get
>>rid of them, I sure would like some insight.
>
>No, if the parent process properly wait()s the child, this
>isn't a problem.  To get rid of zombies (aka "defunct" processes),
>kill the parent process.  On Digital UNIX, you can obtain the
>parent process ID with "ps O ppid", for example.
>
>--
>  Matthias K. Buelow      * Boycott Micro$oft, see
http://www.vcnet.com/bms/ *





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

* Re: defunct processes
  1998-12-14  5:00     ` j baker
@ 1998-12-14  5:00       ` Matthias Buelow
  0 siblings, 0 replies; 6+ messages in thread
From: Matthias Buelow @ 1998-12-14  5:00 UTC (permalink / raw)


In article <5hbd2.1942$Bc5.4333@news.flash.net>,
j baker <jb@nowhere.com> wrote:

>Bad application might not be killing its children when it terminates.

If the parent process is gone, there's no way for child processes
to become zombies.  If they still run, they're normal processes,
if they die, they get adopted by init which properly waits for their
termination.  Zombies only occur when children have died and the parent
process has not yet acknowledged their death (so that the system has
to keep an entry in the process table which contains the exit code,
resource usage values etc.).

-- 
  Matthias K. Buelow      * Boycott Micro$oft, see http://www.vcnet.com/bms/ *



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

end of thread, other threads:[~1998-12-14  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-12-09  5:00 defunct processes cecil
1998-12-08  5:00 ` G. Barbosa
1998-12-09  5:00   ` Matthias Buelow
1998-12-14  5:00     ` j baker
1998-12-14  5:00       ` Matthias Buelow
  -- strict thread matches above, loose matches on Subject: below --
1995-11-02  5:00 Defunct processes Matt Beare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox