503 returning FetchError c http first read error: -1 0

Poul-Henning Kamp phk at phk.freebsd.dk
Fri Feb 18 00:19:15 CET 2011

In message <AANLkTi=Tqzz1_SykDAmgtmzFN_SUKxdYcTC6c=XwRdhH at mail.gmail.com>, Adam
 McManus writes:

>> To me this looks like your backend does not answer inside the
>> "first_byte" timeout.
>That's what I initially thought, but the 503 is being generated within
>1-2 seconds max of initiating the request, not the 30 seconds being
>defined in each backend. Am I misunderstanding the first_byte timeout

Probably not.

Are you 100% sure your backend is not closing the connection ?

Use tcpdump or similar to find out...

Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

More information about the varnish-misc mailing list