I have added the logic to only giveup if there have been 10 consecutive failures within 300 seconds (5 minutes). Please re-review the changes to lib/Common/Angel.pm from my temporary branch (at your convenience).
The result with these changes:
2009/11/17 12:23:18 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:23:29 FATAL Listener: Can't create socket!
2009/11/17 12:23:29 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:23:40 FATAL Listener: Can't create socket!
2009/11/17 12:23:40 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:23:51 FATAL Listener: Can't create socket!
2009/11/17 12:23:51 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:02 FATAL Listener: Can't create socket!
2009/11/17 12:24:02 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:13 FATAL Listener: Can't create socket!
2009/11/17 12:24:13 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:24 FATAL Listener: Can't create socket!
2009/11/17 12:24:24 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:35 FATAL Listener: Can't create socket!
2009/11/17 12:24:35 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:46 FATAL Listener: Can't create socket!
2009/11/17 12:24:47 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:58 FATAL Listener: Can't create socket!
2009/11/17 12:24:58 FATAL Child exited with exitcode 99 and has failed more than 10 times consecutively in the last 5 minutes, not restarting
I have added the logic to only giveup if there have been 10 consecutive failures within 300 seconds (5 minutes). Please re-review the changes to lib/Common/Angel.pm from my temporary branch (at your convenience).
The result with these changes:
2009/11/17 12:23:18 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:23:29 FATAL Listener: Can't create socket!
2009/11/17 12:23:29 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:23:40 FATAL Listener: Can't create socket!
2009/11/17 12:23:40 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:23:51 FATAL Listener: Can't create socket!
2009/11/17 12:23:51 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:02 FATAL Listener: Can't create socket!
2009/11/17 12:24:02 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:13 FATAL Listener: Can't create socket!
2009/11/17 12:24:13 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:24 FATAL Listener: Can't create socket!
2009/11/17 12:24:24 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:35 FATAL Listener: Can't create socket!
2009/11/17 12:24:35 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:46 FATAL Listener: Can't create socket!
2009/11/17 12:24:47 FATAL Child exited with exitcode 99, restarting after 10 second sleep
2009/11/17 12:24:58 FATAL Listener: Can't create socket!
2009/11/17 12:24:58 FATAL Child exited with exitcode 99 and has failed more than 10 times consecutively in the last 5 minutes, not restarting