I know it should be a well-known issue. <br>I searched and try to find out what on earth it is, but I failed. <br><br>Step: <br>1) nginx works as reverse proxy and the version is V1.0.5,<br>   OS: Debian 5.0.3, Kernel Version 2.6.32<br>
<br>2) Enabled http 1.1,   504 error  is popup in client;<br>the error log indicates:<br>-------------------------------------------------<br>2011/12/30 09:40:06 [error] 11013#0: *1 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.208.127.142, server: 1.1.1.1, request: "POST /QueryStatManage/StatStudentAction.aspx HTTP/1.1", upstream: "<a href="http://1.1.1.1:80/QueryStatManage/StatStudentAction.aspx">http://1.1.1.1:80/QueryStatManage/StatStudentAction.aspx</a>", host: "1.1.1.1", referrer: "<a href="http://1.1.1.1/QueryStatManage/StatStudentAction.aspx">http://1.1.1.1/QueryStatManage/StatStudentAction.aspx</a>"<br>
-------------------------------------------------<br><br><br>3) increase the vaule <br>     > proxy_read_timeout 600s<br>     > proxy_send_timeout 600s<br><br>   this time, it is poped up 502, the error logs indicates <br>
------------------------------------<br>2011/12/30 09:53:54 [error] 11173#0: *1 upstream prematurely closed connection while reading response header from upstream, client: 10.208.127.142, server: 1.1.1.1, request: "POST /QueryStatManage/StatStudentAction.aspx HTTP/1.1", upstream: "<a href="http://1.1.1.1:80/QueryStatManage/StatStudentAction.aspx">http://1.1.1.1:80/QueryStatManage/StatStudentAction.aspx</a>", host: "1.1.1.1", referrer: "<a href="http://1.1.1.1/QueryStatManage/StatStudentAction.aspx">http://1.1.1.1/QueryStatManage/StatStudentAction.aspx</a>"<br>
<br>4) Someone told me that there is a kernel bug in linux, I am not sure, can someone see the same issue ? <br><br><br>thanks <br>George <br>