RE: [Zope] - Killing versus shutting down??
When shutting down Zope, will there be an averse effects if the serve.py process is killed with a Ctrl-C, as opposed to shutting down the process using the management screem (assuming of course, no requests are being handled when this is done!)
If you're using INET sockets, the socket may not be immediately available for use after the process has been killed. I think this is an issue with Win32. If using PCGI, you will want to delete the socket and pid files in the var directory. There is a utility .../pcgi/Util/killpcgi.py that can be used to kill the process from the command line. It's argument is the name of the pcgi info file (in this case Zope.cgi). killpcgi terminates the running process and removes the socket/pid files. Regards, Jeff Bauer Rubicon, Inc.
On Wed, 9 Dec 1998, Jeff Bauer wrote:
When shutting down Zope, will there be an averse effects if the serve.py process is killed with a Ctrl-C, as opposed to shutting down the process using the management screem (assuming of course, no requests are being handled when this is done!)
If you're using INET sockets, the socket may not be immediately available for use after the process has been killed. I think this is an issue with Win32. Seems that you have to set SO_REUSEADDR, at least under Unix and following Stevens book ``Unix network programming''. See also the updated ZopeHTTPServer, at least with BoboHTTPServer this small patch solved the restarting problem :)
Andreas -- Win95: n., A huge annoying boot virus that causes random spontaneous system crashes, usually just before saving a massive project. Easily cured by UNIX. See also MS-DOS, IBM-DOS, DR-DOS, Win 3.x, Win98.
participants (2)
-
Andreas Kostyrka -
Jeff Bauer