<div dir="ltr">nginx/1.5.4<br><div>location / {</div><div>...</div><div><div> fastcgi_pass bg;</div><div><span class="" style="white-space:pre"> </span>fastcgi_next_upstream off;</div></div><div>...</div>
<div>}</div><div><br></div><div><div>upstream bg {</div><div> </div><div> server unix:/tmp/dsp.1.sock;</div><div> server unix:/tmp/dsp.2.sock;</div><div> server unix:/tmp/dsp.3.sock;</div><div> server unix:/tmp/dsp.4.sock;</div>
<div> server unix:/tmp/dsp.5.sock;</div><div> server unix:/tmp/dsp.6.sock;</div><div> server unix:/tmp/dsp.7.sock;</div><div> server unix:/tmp/dsp.8.sock;</div><div><div> server unix:/tmp/dsp.9.sock;</div><div>
server unix:/tmp/dsp.10.sock;</div><div> server unix:/tmp/dsp.11.sock;</div><div> server unix:/tmp/dsp.12.sock;</div><div> server unix:/tmp/dsp.13.sock;</div></div><div><br></div><div>}</div></div><div><br></div>
<div> log_format combined-r '$time_local: upstream $upstream_addr responded $upstream_status in $upstream_response_time ms, request status $status is in $request_time ms';<br></div><div><br></div><div><br></div><div>
29/Nov/2013:13:57:51 +0400: upstream unix:/tmp/dsp.4.sock : unix:/tmp/dsp.9.sock responded 504 : 504 in 0.148 : 0.050 ms, request status 504 is in 0.198 ms<br></div><div><br></div><div><br></div><div>So nginx still pass request to next upstream dsp.4 -> dsp.9</div>
<div><br></div><div><br></div><div>What can be wrong with this config?</div><div><br></div><div>Thanks,</div><div>OK</div><div><br></div><div><br></div><div><br></div><div><br></div></div>