Program for restarting stopped/crashed daemons

Martin Hudec corwin at
Tue Jan 31 13:09:52 PST 2006


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).


More information about the freebsd-questions mailing list