5 Oct
2002
5 Oct
'02
4:01 p.m.
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 criterion, but not the response from init(8).)
In this scenario init pauses for a few minutes, rather than aborting. I would like an option to prevent zdaemon aborting, and I am surpised you dont want it as the default. I think init uses a simple fixed pause... an exponential backoff would probably be smarter (like how a disconnected ZEO ClientStorage tries to reconnect to its server)