[Zope] Perl daemon to restart hung Zope on RedHat

Jerome Alet alet@unice.fr
Fri, 29 Jun 2001 22:02:43 +0200


On Fri, Jun 29, 2001 at 01:14:59PM -0500, Dunigan, Craig wrote:
> A while back there were many comments on the list about Zope hangs, and how
> to handle them.  If anyone is interested, I wrote a Perl script that checks
> for a response from Zope on localhost and restarts it if there is no
> response.  It uses the init script from
> http://www.zope.org/Members/markoer2/resources/howtos/redhat_startup, and a
> few Perl modules from CPAN.  It runs as a daemon so that it can started once
> and ignored.  I haven't done it, but you could probably write an init shell
> script for it, too.  The only thing it lacks right now is writing into
> syslog for it's messages, but I expect I'll work that out in a day or so.
> Let me know if you want it, and I'll post it.

It ressembles something I've written last year:

http://www.zope.org/Members/jerome_alet/IsDaZope

too bad they aren't both in the same language ! we could have merged
them if possible.

bye,

Jerome Alet