client keepalive on high trafic site

Poul-Henning Kamp phk at phk.freebsd.dk
Tue Sep 8 11:02:37 CEST 2009


In message <4AA61CBE.2090007 at 1art.cz>, =?UTF-8?B?VsOhY2xhdiBCw61sZWs=?= writes:

>We have a problem with varnish using keepalive for clients, when
>established connections goes above 8K varnish slows down which means the
>site stops reponding.
>
>Unfortunately we cant use
>	set   resp.http.Connection="close";
>because IE6 has problem with that ( after loading page source there is a
>lag(few seconds) before downloading page elements)
>
>is there any way how to disable keepalive just for certain clients (IE6);
>
>How hard would it be to implement global keepalive off in varnish?

You can tune the client keepalive interval with the parameter
sess_timeout.  It defaults to 5 seconds.

Poul-Henning

-- 
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