[Zope-dev] zdaemon fix

2002-10-05 Thread Guido van Rossum
We recently had an event at a customer site where a ZEO process was started with bogus arguments that kept spewing messages in the log file forever: the zdaemon module kept restarting the program, and the program kept failing (without logging a message!). I think we've all gone through this.

Re: [Zope-dev] zdaemon fix

2002-10-05 Thread Toby Dickenson
On Saturday 05 Oct 2002 8:29 am, Guido van Rossum wrote: I am thinking of a fairly simple change to zdaemon: if it finds that it is continuously respawning the program more than 10 times in 2 minutes, it assumes there is a fatal error, log a PANIC level message, and exit. ( (I took the

Re: [Zope-dev] zdaemon fix

2002-10-05 Thread Guido van Rossum
I am thinking of a fairly simple change to zdaemon: if it finds that it is continuously respawning the program more than 10 times in 2 minutes, it assumes there is a fatal error, log a PANIC level message, and exit. ( (I took the criterion, but not the response from init(8).) In