<div class="gmail_quote">2009/9/10 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5">On Thu, Sep 10, 2009 at 03:10:05PM +0400, Maxim Dounin wrote:<br>
<br>
&gt; Hello!<br>
&gt;<br>
&gt; On Thu, Sep 10, 2009 at 06:29:18AM -0400, gloomen wrote:<br>
&gt;<br>
&gt; &gt; Friends, help deal with nginx. I can not go to the site.<br>
&gt; &gt;<br>
&gt; &gt; 502 Bad Gateway<br>
&gt; &gt; nginx/0.7.61<br>
&gt; &gt;<br>
&gt; &gt; ee /var/log/nginx-error.log<br>
&gt; &gt;<br>
&gt; &gt; 2009/09/10 14:58:19  734#0: *3 upstream prematurely closed connection while reading response header from upstream, client: 10.10.10.10, server: <a href="http://xxx.net" target="_blank">xxx.net</a>, request: &quot;GET / HTTP/1.1&quot;, upstream: &quot;fastcgi://<a href="http://127.0.0.1:9000" target="_blank">127.0.0.1:9000</a>&quot;, host: &quot;<a href="http://xxx.net" target="_blank">xxx.net</a>&quot;<br>

&gt;<br>
&gt; So upstream probably just died.  Likely to be php-related issue,<br>
&gt; try looking there.<br>
&gt;<br>
&gt; Anyway it isn&#39;t &quot;bugs in nginx&quot;.<br>
<br>
</div></div>There is one nginx fastcgi bug when fastcgi sends very large headers.<br>
The attached patch fixes this. In other cases it&#39;s more like backend error.<br>
<font color="#888888"><br></font></blockquote><div><br>and I assume this problem is only for fastcgi? (ie., not happening for http proxies)<br><br>-jf<br><br></div></div>