How to identify and kill ``Zombies''?

From: Bernt Christandl <beb_at_mpe.mpg.de>
Date: Thu, 29 Jan 1998 10:16:27 +0100

Hello managers,

since some months now (maybe since we upgraded to DU-4.0B?) we are
having problems with ``zombie''-processes.

The reason seems to be that our Xterminals from time to time 'hangup'
and the only solution we've found, is to power-cycle. But then most or all
of the processes on the alphaserver "behind" survive, thus filling up
memory and swap more and more, until we have to reboot the alphaserver
because some processes are killed by the system then, because of not
enough swapspace...

Is there an easy way to identify such processes (and get rid of them)
that are no longer connected to a session?

We thought of writing a script, checking the time of creation of all
processes of a user and looking at the time of creation of its dtsession-
process and killing thoses processes which are created before that one,
but we are unsure, whether that's a good idea...

What do *you* do? (Or are we the only one with such a problem?

With regards,

Bernt Christandl
                                                                       
----------------------------------------------------------------------
- Bernt Christandl / Max Planck Institut - Extraterrestrische Physik -
- D-85740 Garching / Phone: +49/89/3299-3342 / Fax: +49/89/3299-3569 -
- email: beb_at_mpe.mpg.de -
----------------------------------------------------------------------
Received on Thu Jan 29 1998 - 10:16:41 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT