Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 22:09:48 +0100
From:      Martin Hudec <corwin@aeternal.net>
To:        questions@freebsd.org
Subject:   Re: Program for restarting stopped/crashed daemons
Message-ID:  <43DFD21C.2000304@aeternal.net>
In-Reply-To: <200601312202.03556.db@traceroute.dk>
References:  <200601312202.03556.db@traceroute.dk>

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

db wrote:
> Hi all
> 
> I've been looking for a program to restart apache, postfix and my other server 
> daemons when they stop/crash, but couldn't find a good one. I've read the 
> sourcecode for sysutils/monit and sysutils/monitord but they seem to 
> need /proc and insist on poll instead of using kqueue(2) and kevent(2). So 
> before I start coding my own, can someone recommend a port or tell me why 
> kevent(2) shouldn't be used for this?

And what is exactly wrong with /proc running?

I have had procfs turned off, but our content management application 
does need to have access to /proc, because in its management of 
processess (fastcgi app with custom management of cron processes of its 
own) it have not been able to manage them without it. We used 
alternative like p5-Proc-ProcessTable, but it did sometimes render our 
system unusable, userland unresponsive (although kernel was okey).

Cheers,
Martin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43DFD21C.2000304>