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 15:10:10
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?

> are daemontools [1] an option? they monitor a service and bring it
> back up if it got killed (also behaviour of clamsmtpd on my machine),
> but that's not exactly what i need...

If a process is hung in the kernel because of a bug, nothing is going
to get rid of it it other than a reboot.

Perry