Connections dropped under load

Poul-Henning Kamp phk at
Thu Jan 6 00:36:17 CET 2011

In message <4D24FD97.1070502 at>, George Georgovassilis writes:
>This is a multi-part message in MIME format.

>In the meantime I found an unlikely setting that solved my problem: the 
>session_linger. I got it from here [1] and thought it wouldn't hurt and 
>it nearly killed me. My initial tests were conducted with a value of 
>150, I had to lower it to 20 to get my test through.

session_linger is marked EXPERIMENTAL for a reason:  I have no idea
what a good default value is.

It is one of those that has the potential to make synthetic benchmarks
totally unrelated to real life traffic, so you should never tune it
based on synthetic benchmarks.

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