Varnish closes conenction to haproxy

Jan Olausson janneolausson at gmail.com
Thu Oct 6 14:36:15 CEST 2011


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
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20111006/04c19b99/attachment-0003.html>


More information about the varnish-misc mailing list