Varnish closes conenction to haproxy

Baptiste bedis9 at gmail.com
Sun Oct 9 15:10:42 CEST 2011


Hi

And what's are your HAProxy timeouts?
By the way, are you sure the client is still waiting for the response?

cheers

On Thu, Oct 6, 2011 at 2:36 PM, Jan Olausson <janneolausson at gmail.com> wrote:
> Hi,
> Silly me not to mention it but yes. The values I have are:
>     .connect_timeout = 1s;
>     .first_byte_timeout = 600s;
>     .between_bytes_timeout = 5s;
> Best regards
> Jan
>
> 6 okt 2011 kl. 14.25 skrev Stewart Robinson:
>
> Hi,
> Have you specified long timeouts in your backend declaration?
>
> backend www {
>   .host = "www.example.com";
>   .port = "http";
>   .connect_timeout = 1s;
>   .first_byte_timeout = 5s;
>   .between_bytes_timeout = 2s;
> }
>
> Stew
>
> On 6 October 2011 13:14, Jan Olausson <janneolausson at gmail.com> wrote:
>>
>> Hi!
>>
>> I have a problem with varnish closes the connection to haproxy infront of
>> it.
>> Haproxy reports a 502 error after exactly 60 seconds after it begun
>> handling the request.
>>
>> If I skip both haproxy and varnish and let nginx handle the request
>> directly, everything works although it takes 4-5 minutes to complete the
>> request due to the complexity of the work that has to be done.
>>
>> Anyone here have a suggestion what I shall try?
>> Varnish version is: varnish-3.0.0 revision 3bd5997
>>
>> Best regards
>> Jan Olausson
>> Sweden
>>
>>
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
>
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>




More information about the varnish-misc mailing list