On 4/13/07, Jonathan Swartz <[EMAIL PROTECTED]> wrote:
It doesn't seem worth the risk, especially if
GracefulStopTimeout is only 1 second. The server will be unable to respond
for a second longer, but most load balancers should be able to react quickly
to that. (I think).

I would definitely set it longer than 1 second.  I'd probably give it
at least 10.

Incidentally, I fake this in mod_perl 1 by having my server take down
the page that the load balancer uses to see if the machine is up, and
waiting 60 seconds before stopping the server.  This gives the load
balancer time to see the server is "down" and divert traffic, and lets
the current requests finish.  If you have multiple machines behind a
load balancer, this is a pretty safe way to do it.

- Perrin

Reply via email to