[Zope] Perl daemon to restart hung Zope on RedHat

Farrell, Troy troy.farrell@wcg.com
Fri, 29 Jun 2001 16:38:40 -0500


You could take a look at these hints.  The second one needs to be
python-ized.

http://www.python.org/cgi-bin/faqw.py?req=show&file=faq04.087.htp

http://www-db.stanford.edu/~cho/programming/unix-socket-faq-4.html#ss4.3

Troy

-----Original Message-----
From: Meilicke, Scott [mailto:scott.meilicke@intp.com]
Sent: Friday, June 29, 2001 3:47 PM
To: 'Dunigan, Craig'; 'Jerome Alet'
Cc: zope@zope.org
Subject: RE: [Zope] Perl daemon to restart hung Zope on RedHat


As a crappy sort of hack you could use screen and then detach.  That's in
the background, but not as clean as a daemon.

Scott

-----Original Message-----
From: Dunigan, Craig [mailto:craig.dunigan@esker.com]
Sent: Friday, June 29, 2001 1:40 PM
To: 'Jerome Alet'
Cc: zope@zope.org
Subject: RE: [Zope] Perl daemon to restart hung Zope on RedHat


> I don't use it since Zope 2.1.6, because I've not experienced any hang
> since this date. However I've just looked at the code and I can't
> see anything which would prevent it from being run in the background:
> 
> 	isdazope.py [options] &
> 
> I don't know how to really daemonize it, though.
> 
> bye,
> 
> Jerome Alet
> 

As I'm sure you know, but for the benefit of others who might not,
backgrounding it still needs an open console to run, and that is what I
wanted to avoid.  Oh well, maybe someone who knows about making a Python
daemon could step in at this point and save us?

Craig

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )