List Info

Thread: Program for restarting stopped/crashed daemons




Program for restarting stopped/crashed daemons
user name
2006-01-31 21:09:48
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
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
Program for restarting stopped/crashed daemons
user name
2006-01-31 22:23:18
On Tuesday 31 January 2006 21:09, Martin Hudec wrote:
> > 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'm not using it on my 6.0 servers.

br
db
_______________________________________________
freebsd-questionsfreebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-que
stions
To unsubscribe, send any mail to
"freebsd-questions-unsubscribefreebsd.org"
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )