Varnish drops connections and make several HTTP 206

Tollef Fog Heen tfheen at varnish-software.com
Tue Oct 11 07:31:31 CEST 2011


]] Kacper Wysocki 

| On Mon, Oct 10, 2011 at 9:00 AM, Tollef Fog Heen
| <tfheen at varnish-software.com> wrote:
| > ]] Kacper Wysocki
| >
| > | setting send_timeout lower does make this problem more frequent for me
| > | and setting this higher makes it less frequent, but why exactly are we
| > | hitting the send timeout here? doesnt make sense to me.
| 
| > Because our implementations of TCP timeouts is not completely correct or
| > complete.  You could try https://gist.github.com/1275251 and see if that
| > makes for more happiness.
| 
| Oh, who knew. So if you set the timeout to 10s then it will kill
| transfers at 10 seconds?

Yes.  This is actually documented, if a bit surprising.

| I could try patching the version string to 3.0.2 or do you mean there
| is some change in 3.0.2 that attempts to make more happiness?

Oh, that was the wrong patch, try https://gist.github.com/1277365 instead.

-- 
Tollef Fog Heen
Varnish Software
t: +47 21 98 92 64




More information about the varnish-misc mailing list