1

Tell Passenger not to queue requests while restarting

view story
linux-howto

http://serverfault.com – We're in the process of getting Passenger Enterprise purchased and setup, but in the meantime we'd like to get some pseudo-"rolling restarts" setup, by issuing commands on each server to sleep X seconds and then restart passenger when we deploy. It's working great, except for one problem: Our load balancer is still sending requests to the server on which Passenger is restarting, resulting in 50% of requests being queued into the restarting Passenger (which takes a while to boot up). The load balancer is unfortunately out of our control and basically just checks to make sure that a server can (HowTos)