Weird timeouts, not sure if I've set the right threshholds

Igor Sysoev is at rambler-co.ru
Thu May 1 09:41:04 MSD 2008


On Wed, Apr 30, 2008 at 10:26:16PM -0700, mike wrote:

> On the proxy. I've changed the IPs and hostnames to protect the
> innocent (except for the upstream IPs - which are the 10.13.5.x ones)
> 
> 2008/04/30 22:02:44 [error] 24799#0: *77643721 upstream timed out
> (110: Connection timed out) while reading upstream, client:
> 21.5.4.247, server: lvs01.myhosting.net, request: "GET
> /gallery/videos/FLV_LG/ics2.flv HTTP/1.1", upstream:
> "http://10.13.5.14:80/gallery/videos/FLV_LG/ics2.flv", host:
> "media.clientdomain.net", referrer:
> "http://clientdomain.net/images/tempVid_lg.swf"
> 
> 2008/04/30 22:04:45 [error] 24801#0: *77661724 upstream timed out
> (110: Connection timed out) while reading response header from
> upstream, client: 12.107.23.215, server: lvs01.myhosting.net, request:
> "GET /forum/aus-classifieds/171768-e46-sub-box-2-x-r-f-p2-subs.html
> HTTP/1.1", upstream:
> "http://10.13.5.14:80/forum/aus-classifieds/171768-e46-sub-box-2-x-r-f-p2-subs.html",
> host: "www.clientdomain.net", referrer:
> "http://images.google.com/imgres?imgurl=http://memimage.cardomain.net/member_images/12/web/2124000-2124999/2124693_10_full.jpg&imgrefurl=http://www.clientdomain.net/forum/aus-classifieds/171768-e46-sub-box-2-x-r-f-p2-subs.html&start=100&h=431&w=575&sz=170&tbnid=vF8z4lznXJyOxM:&tbnh=100&tbnw=134&hl=en&prev=/images%3Fq%3De46%26start%3D80%26imgsz%3Dlarge%257Cxlarge%257Cxxlarge%257Chuge%26gbv%3D1%26hl%3Den%26sa%3DN"
> 
> 2008/04/30 22:08:18 [error] 24798#0: *77681622 upstream timed out
> (110: Connection timed out) while reading response header from
> upstream, client: 66.29.2.76, server: lvs01.myhosting.net, request:
> "GET /forum/general-discussion/117997-how-hard-repaint-car.html
> HTTP/1.1", upstream:
> "http://10.13.5.10:80/forum/general-discussion/117997-how-hard-repaint-car.html",
> host: "www.clientdomain.net"

The first line is error in the middle of ics2.flv transfer.
The last two are did not get responses at all: "while reading response header".
I think these two are handled by PHP and it may be slow.
But the first timeout of static FLV is strange. Are you show that it handled
by nginx but not PHP ?

> i'm not actually seeing anything for that request in the backend error
> log. sometimes i see "client aborted connection" etc. but i enabled
> the "fastcgi_ignore_client_abort on;" on the backend, and
> "proxy_ignore_client_abort on;" on the proxy...
> 
> 
> On 4/30/08, Igor Sysoev <is at rambler-co.ru> wrote:
> > On Wed, Apr 30, 2008 at 10:07:59PM -0700, mike wrote:
> >
> > > On 4/30/08, Igor Sysoev <is at rambler-co.ru> wrote:
> > >
> > > > The timeout errors has no relation to buffers. These errors usually
> > > > means that backends are too slow.
> > >
> > > What should I look at then to speed them up?
> > >
> > > The backends are Linux, NFS server is FBSD7, proxy server is Linux.
> > > Any pointers are appreciated.
> >
> > Could you show some timeout messages ?
> >
> >
> > --
> > Igor Sysoev
> > http://sysoev.ru/en/
> >
> >

-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list