KeepAlive issue help

Hi, everyone

We have one issue trouble which related to keepalive, can anybody help
me out or provide some clue, Thanks a lot.

Let me describe the issue briefly.

  • Nginx version: 07.62

  • Load balancing algorithm: Round-robin(default)

  • upstream configuration
    upstream me2day {
    max_connections 50;

      server testweb002.mtod:80; # 1.8.7
      server testweb047.mtod:80; # 1.8.7
    
      server testweb081.mtod:80;
      server testweb082.mtod:80;
    
      max_connections 50;
    

}

  • Load balanorcing wks well if keepAlive is off,
    but if we set “keepalive on”, Load balancing doesn’t work.The order of
    servers seems to affect the “load”.

Posted at Nginx Forum: