Welcome! Log In Create A New Profile

Advanced

Re: urgent help - 145: Connection timed out

Kevin Castiglione
September 17, 2009 02:40AM
2009/9/16 Igor Sysoev <is@rambler-co.ru>

> On Wed, Sep 16, 2009 at 09:11:08PM -0700, Kevin Castiglione wrote:
>
> > hi
> > i have the nginx config below, and the fascgi backend takes lot of time
> to
> > process the request. this is expected. but nginx returns error before it
> is
> > over:
> >
> > upstream timed out (145: Connection timed out) while reading response
> > header from upstream, client: X.X.X.119, server: YYY.com, request: "POST
> /
> > HTTP/1.1", upstream: "fastcgi://A.B.C.D:8492", host: "AAA.YYY.com",
> > referrer: "http://xx.y.com/
> >
> >
> >
> > can you tell me what config i should change/ increase so that nginx waits
> > for some more time before returning this error.
> > thanks a lot!
>
> fastcgi_read_timeout 2m; # default is 60s
>
> 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.
how do i add the request_time to the default error log format?

thanks a lot!
Subject Author Posted

urgent help - 145: Connection timed out

Kevin Castiglione September 17, 2009 12:22AM

Re: urgent help - 145: Connection timed out

Igor Sysoev September 17, 2009 01:12AM

Re: urgent help - 145: Connection timed out

Kevin Castiglione September 17, 2009 02:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready