Configuration:<br><br>worker_processes 2;<br><br>upstream app-backend {<br>  server <a href="http://10.23.1.1:8080">10.23.1.1:8080</a>;<br>  server <a href="http://10.23.1.2:8080">10.23.1.2:8080</a>;<br>}<br><br clear="all">
nginx version: nginx/0.6.39<br>built by gcc 4.2.4 (Ubuntu 4.2.4-1ubuntu4)<br>configure arguments: --prefix=/opt/nginx --group=nogroup --user=nobody --with-http_gzip_static_module --with-http_ssl_module<br><br>I noticed tonight that for a particular run of large requests, the same upstream IP was being used consecutively instead of round-robin.  There were no entries in the error log for the time-frame, and both upstream servers were available.<br>
<br>Example:<br><br>10.23.1.3 [17/Jan/2010:01:11:39 -0800] http &quot;POST /request HTTP/1.1&quot; 89515 200 <a href="http://10.23.1.1:8080">10.23.1.1:8080</a><br>10.23.1.3 [17/Jan/2010:01:11:40 -0800] http &quot;POST /request HTTP/1.1&quot; 82520 200 <a href="http://10.23.1.1:8080">10.23.1.1:8080</a><br>
10.23.1.3 [17/Jan/2010:01:11:41 -0800] http &quot;POST /request HTTP/1.1&quot; 88346 200 <a href="http://10.23.1.1:8080">10.23.1.1:8080</a><br>10.23.1.3 [17/Jan/2010:01:11:42 -0800] http &quot;POST /request HTTP/1.1&quot; 97289 200 <a href="http://10.23.1.2:8080">10.23.1.2:8080</a><br>
10.23.1.3 [17/Jan/2010:01:11:44 -0800] http &quot;POST /request HTTP/1.1&quot; 92068 200 <a href="http://10.23.1.2:8080">10.23.1.2:8080</a><br>10.23.1.3 [17/Jan/2010:01:11:45 -0800] http &quot;POST /request HTTP/1.1&quot; 96217 200 <a href="http://10.23.1.1:8080">10.23.1.1:8080</a><br>
10.23.1.3 [17/Jan/2010:01:11:45 -0800] http &quot;POST /request HTTP/1.1&quot; 86415 200 <a href="http://10.23.1.1:8080">10.23.1.1:8080</a><br>10.23.1.3 [17/Jan/2010:01:11:47 -0800] http &quot;POST /request HTTP/1.1&quot; 86883 200 <a href="http://10.23.1.2:8080">10.23.1.2:8080</a><br>
10.23.1.3 [17/Jan/2010:01:11:48 -0800] http &quot;POST /request HTTP/1.1&quot; 91168 200 <a href="http://10.23.1.2:8080">10.23.1.2:8080</a><br>10.23.1.3 [17/Jan/2010:01:11:50 -0800] http &quot;POST /request HTTP/1.1&quot; 94113 200 <a href="http://10.23.1.2:8080">10.23.1.2:8080</a><br>
10.23.1.3 [17/Jan/2010:01:11:52 -0800] http &quot;POST /request HTTP/1.1&quot; 95881 200 <a href="http://10.23.1.2:8080">10.23.1.2:8080</a><br><br>Most of the responses took ~10-30 seconds to complete.  Is there anything obvious that would cause this behavior?  Other than this sequence of requests, the round-robin behavior logs as expected.<br>
<br>-- <br>Adam<br><a href="mailto:zellster@gmail.com">zellster@gmail.com</a><br>