2009/9/16 Igor Sysoev <span dir="ltr"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Sep 16, 2009 at 09:11:08PM -0700, Kevin Castiglione wrote:<br>
<br>
> hi<br>
> i have the nginx config below, and the fascgi backend takes lot of time to<br>
> process the request. this is expected. but nginx returns error before it is<br>
> over:<br>
><br>
> šupstream timed out (145: Connection timed out) while reading response<br>
> header from upstream, client: X.X.X.119, server: YYY.com, request: "POST /<br>
> HTTP/1.1", upstream: "fastcgi://A.B.C.D:8492", host: "<a href="http://AAA.YYY.com" target="_blank">AAA.YYY.com</a>",<br>
> referrer: "<a href="http://xx.y.com/" target="_blank">http://xx.y.com/</a><br>
><br>
><br>
><br>
> can you tell me what config i should change/ increase so that nginx waits<br>
> for some more time before returning this error.<br>
> thanks a lot!<br>
<br>
</div>fastcgi_read_timeout š2m; š# default is 60s<br>
<br></blockquote><div>thanks a lot for this! inorder for me to tune this to the value i want, i want to be able to add the request time to the error log.<br>how do i add the request_time to the default error log format?<br>
<br>thanks a lot!<br></div></div>