Re: Program for restarting stopped/crashed daemons
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? Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Did you try djb's daemontools ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
On Saturday 11 February 2006 16:37, you wrote: Did you try djb's daemontools ? I'll take a look, thanks. br db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Program for restarting stopped/crashed daemons
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? Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
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-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Program for restarting stopped/crashed daemons
You can try bigsister for some of this: http://bigsister.graeff.com./ But coding to check apache is trivial. I have rolled my own apache monitor as the daemon doesn't die but will stop responding at times. -Derek At 04:02 PM 1/31/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? Best regards db ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]