Varnish timeout after 10 minutes

Caunter, Stefan scaunter at topscms.com
Fri Oct 9 15:39:27 CEST 2009


I run 2.04, but this is default (ten minutes) - perhaps version 1 did not detect client session like version 2 does.

param.show send_timeout

send_timeout               600 [seconds]
                           Default is 600
                           Send timeout for client connections. If no data
                           has been sent to the client in this many seconds,
                           the session is closed.
                           See setsockopt(2) under SO_SNDTIMEO for more
                           information.

                           NB: This parameter may take quite some time to
                           take (full) effect.

Stefan Caunter 
Skype: stefancaunter

-----Original Message-----
From: varnish-misc-bounces at projects.linpro.no [mailto:varnish-misc-bounces at projects.linpro.no] On Behalf Of Rogério Schneider
Sent: October-09-09 9:16 AM
To: Ketil Froyn
Cc: varnish-misc at projects.linpro.no
Subject: Re: Varnish timeout after 10 minutes

> I deployed varnish on a webserver that also runs PHP to serve larger
> files of up to about 1GB. NOTE, I am using the stock varnish shipped
> with Debian 5, which is varnish version 1.1.2.

We (everyone agrees, right?) recommend using a newer one :)

> Is there a time limit like this in newer versions of varnish? Is there
> a workaround I can use? It seems "pass"ing these requests doesn't
> help, but "pipe"ing them appears to help. Is there a better solution
> than hardcoding "pipe"s of all requests that could take more than 10
> minutes?

Take a look at the startup option: "send_timeout"

http://varnish.projects.linpro.no/browser/tags/varnish-1.1.2/bin/varnishd/mgt_param.c

Regards,
-- 
Rogério Schneider

MSN: stockrt at hotmail.com
GTalk: stockrt at gmail.com
Skype: stockrt
http://stockrt.github.com
_______________________________________________
varnish-misc mailing list
varnish-misc at projects.linpro.no
http://projects.linpro.no/mailman/listinfo/varnish-misc



More information about the varnish-misc mailing list