safely remove webserver from nginx backent pool?

Posted by Dean Hiller on Server Fault See other posts from Server Fault or by Dean Hiller
Published on 2012-11-05T22:01:46Z Indexed on 2012/11/05 23:04 UTC
Read the original article Hit count: 207

Filed under:

We have 4 webservers behind nginx being hit with 262 events/second. I would like to tell nginx to stop sending requests to that server. If I remove the server from the file and reload the file, aren't all requests in process dropped on the floor then as nginx no longer knows that server. What can I add to the config so it slowly drops that server out of the pool and I can wait for current requests to complete.

© Server Fault or respective owner

Related posts about nginx