varnish + gatling http first read error: EOF

Tobias Honacker t.honacker at
Wed Sep 21 10:53:45 CEST 2016

Hi all,

we are facing some issues trying to stresstest our oAuth App using Varnish
4.0.3 and Gatling


LB -> Apache (SSL Offloading) + Varnish -> Appserver (Apache + Tomcat)



tcpdump on our app server with 1 req/s (varnishlog 200):

tcpdump on our app server with >= 2 req/s (varnishlog 503er):

If varnish throws HTTP 503 the connection: close header is missing

Running tests using pipe works fine, because pipe sets connection: close
Running tests without varnish works fine, too.

The Apaches using KeepAlive:

KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 10

Any suggestions?

Thanks in advance and best regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the varnish-misc mailing list