Subject: Re: is there anything i can do on a daemon not willing to die?
To: Timo Schoeler <timo.schoeler@macfinity.net>
From: Perry E. Metzger <perry@piermont.com>
List: netbsd-help
Date: 05/03/2005 16:38:28
Timo Schoeler <timo.schoeler@macfinity.net> writes:
> Perry E. Metzger wrote:
>> Timo Schoeler <timo.schoeler@macfinity.net> writes:
>> 
>>>hi list,
>>>
>>>what can i do about a daemon that crashed in a way (clamsmtpd on
>>>NetBSD 2.0.2-RELEASE/SPARC64) that not even a kill -9 `PID` got me rid
>>>of it?
>> 
>> 
>> If not even a kill -9 killed it, you have a kernel bug. What was the
>> process sleeping in?
>
> hm, it's running plain vanilla 2.0.2-RELEASE...
>
> the process was not sleeping, IIRC it was in state 'CPU' -- at least
> (regarding to top) it consumed nearly 100% CPU, the systems' load was
> between 4.5 and 5.2 for several hours...

That doesn't make any sense at all.

If a process is running in userland, you can always kill it. If a
kill -9 does not work, then you are almost certainly stuck in the
kernel.

Can you show a ps of the process?

-- 
Perry E. Metzger		perry@piermont.com