Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2005 10:59:16 -0600
From:      "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
To:        Athanasios Douitsis <aduitsis@noc.ntua.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: cannot kill -9 a process
Message-ID:  <69962115-AB7F-487D-93A9-D4E9689E8C50@shire.net>
In-Reply-To: <20050510164359.GL11613@noc.ntua.gr>
References:  <20050510164359.GL11613@noc.ntua.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

On May 10, 2005, at 10:43 AM, Athanasios Douitsis wrote:

> Hello all,
>
> I have run into a peculiar problem. A process in one of my servers
> has stopped working, but when I kill -9 the pid the process won't  
> go away.
>
> ps axuw | grep nagios
> nagios 36818  0.0  0.1  3964 2184  ??  TLs  30Mar05  46:14.69 /usr/ 
> local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg
>
> and
>
> kill -9 36818
>
>
> Well, it won't die no matter how many times I'll try to kill -9 it.

Typically it is stuck waiting for some IO and cannot be killed in  
that state (happens on nfs for me once in a while for example).  Try  
to figure out what it is waiting for and fix that problem so that the  
IO will complete

for example "lsof" may help you track down

Chad

>
> My uname is
>
> 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Sun Jan 16 09:53:48 UTC  
> 2005     root@builder.daemonology.net:/usr/obj/usr/src/sys/SMP  i386
>
> Does anyone have any constructive suggestion on how to get rid of it?
>
> Thanks in advance
> Athanasios
>
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions- 
> unsubscribe@freebsd.org"
>

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad@shire.net




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69962115-AB7F-487D-93A9-D4E9689E8C50>