On 4/12/07, Jonathan Swartz <[EMAIL PROTECTED]> wrote:
The mod_perl guide section on starting and stopping (http://
perl.apache.org/docs/general/control/
control.html#Safe_Code_Updates_on_a_Live_Production_Server)
recommends using regular old stop. Doesn't this terminate any current
user requests, with ugly results on the client? Wouldn't it make more
sense to issue a graceful stop signal, setting
GracefulShutdownTimeout to a low number (like 1) and then sleeping
for at least that number of seconds?

Yes.  The reason the docs don't suggest that is that this is a new
feature in apache 2.2 and as such has not been used by most people who
contribute to the docs.  Please try it, and if it works for you we'll
update the docs.

The graceful restart, which has been there for years, doesn't work
well with mod_perl because it doesn't actually create a new perl
interpreter, so all the old state is still there.

- Perrin

Reply via email to