can't kill crashed processes
Rick Stevens
rstevens at vitalstream.com
Thu Jan 27 19:11:06 UTC 2005
Benjamin Hornberger wrote:
> Hi all,
>
> I have the problem that I can't kill certain frozen processes on RHEL AS
> 3. Somehow, up2date crashes each time when I try to run it from a Win XP
> machine tunneled through SSH (with Exceed running), and now I have three
> of these processes around.
>
> [root at host root]# ps -ef | grep up2date
> root 3178 1 0 09:33 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 3366 1 0 09:44 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 6851 1 5 13:43 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 6918 6871 0 13:45 pts/3 00:00:00 grep up2date
> [root at host root]# kill -9 3178
> [root at host root]# ps -ef | grep up2date
> root 3178 1 0 09:33 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 3366 1 0 09:44 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 6851 1 4 13:43 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 6920 6871 0 13:45 pts/3 00:00:00 grep up2date
> [root at host root]# kill -9 3366
> [root at host root]# ps -ef | grep up2date
> root 3178 1 0 09:33 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 3366 1 0 09:44 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 6851 1 4 13:43 ? 00:00:05 /usr/bin/python -u
> /usr/sbin/up2date
> root 6922 6871 0 13:45 pts/3 00:00:00 grep up2date
> [root at host root]#
Do a "ps -ax" and see if the processes are shown with "<defunct>". If
so, they're zombies and you won't be able to get rid of them unless you
kill their parent process. In your case, the parent process is "init"
(the master process) and the only way to kill init safely is to reboot.
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- The world is coming to an end ... SAVE YOUR FILES!!! -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list