Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: "Graceful Restart" patch

From: Robert S. Thau <rst(at)ai.mit.edu>
Date: Sun Jun 23 1996 - 11:35:05 EDT


  you send the main process a SIGINT (kill -2) and it invites   the children to die politely. It then waits until they all have (which they   do at the end of the _next_ request).

This does look a little risky for 1.1, but it (or equivalent functionality) would be a very good thing for the next release. The one thing I'm not sure I like about it is keeping the old, buggy SIGHUP behavior around *at all*.

Unfortunately, I can think of at least one reason for it (wanting to be able to force an *immediate* restart). If it were possible for the main server to reread the config files and start a new set of reconfigured children even as the old ones were still mopping up, that might be the ideal way to fly... it's a bit more complicated (you have to deal with reopening the listening server sockets somehow), but it might be worth it.

rst Received on Sun Jun 23 08:38:04 1996

This archive was generated by hypermail 2.1.8 : Thu Aug 24 2006 - 14:43:43 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library