Not long ago, Ryan Byrd proclaimed...
> so I have a bunch(227) of processes that refuse to die. my top load
> average is 232.58 currently. Here's a ps -auxww of one of those
> processes:
> 
> nagios    5574  0.0  0.3  8276 2968 ?        D    09:08   0:00
> /usr/bin/php -q /usr/local/nagios/libexec/check_replication.php
> 
> 
> you'll notice that the processes are in the "D" state which seems to
> indicate that they can not be interrupted.
> 
> Anyway to kill them without rebooting?

Find out what resource they have filehandles open on. Use the 'lsof'
command to to this.

You can't kill a process while it still has filehandles open. Keep in mind,
if you ungracefully reboot a system like this... you take a chance of
corrupting the filesystem.  

-=Fozz

-- 
[EMAIL PROTECTED] is Doran L. Barton, president, Iodynamics LLC
Iodynamics: Linux solutions - Web development - Business connectivity
 "Do not attempt to stop chain with your hands."
    -- Seen on a Swedish chainsaw

Attachment: pgp4srvM4RvY2.pgp
Description: PGP signature

.===================================.
| This has been a P.L.U.G. mailing. |
|      Don't Fear the Penguin.      |
|  IRC: #utah at irc.freenode.net   |
`==================================='

Reply via email to