Talk me through the upstream process

Alan Williamson alan at
Tue Jun 24 14:44:18 MSD 2008

So far I am loving nginx; its doing what lighhtpd was doing but no where 
near consuming the CPU.  Result.

I would like to understand how it manages the pool of backend machines. 
  Say for example I have:

upstream backends {
  server weight=2;

Now, assume one of them goes off line, the others one will pick up the 
load, but when will nginx decide to put it back into the pool of 
available workers?   Does every new connection coming in, trigger an 
attempt to the offline servers?

Maybe there is some docs i am missing that explains this already, but 
any pointers would be appreciated.


Alan Williamson
  Registrationless email/sms reminders:

More information about the nginx mailing list