<div dir="ltr">Hi all,<div><br></div><div>we are facing some issues trying to stresstest our oAuth App using Varnish 4.0.3 and Gatling</div><div><br></div><div>Infra:</div><div><br></div><div>LB -> Apache (SSL Offloading) + Varnish -> Appserver (Apache + Tomcat)</div><div><br></div><div>Varnishlog:</div><div><a href="http://pastebin.com/tCWgi01H">http://pastebin.com/tCWgi01H</a><br></div><div><br></div><div>VCL:</div><div><a href="http://pastebin.com/cEdzAwxs">http://pastebin.com/cEdzAwxs</a><br></div><div><br></div><div>tcpdump on our app server with 1 req/s (varnishlog 200): </div><div><a href="http://pastebin.com/XFVsANiN">http://pastebin.com/XFVsANiN</a><br></div><div><br></div><div>tcpdump on our app server with >= 2 req/s (varnishlog 503er):</div><div><a href="http://pastebin.com/f2EKADpx">http://pastebin.com/f2EKADpx</a><br></div><div><br></div><div>If varnish throws HTTP 503 the connection: close header is missing</div><div><br></div><div>Running tests using pipe works fine, because pipe sets connection: close</div><div>Running tests without varnish works fine, too.</div><div><br></div><div>The Apaches using KeepAlive:</div><div><br></div><div>KeepAlive On<br>MaxKeepAliveRequests 100<br>KeepAliveTimeout 10</div><div><br></div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks in advance and best regards</div><div>Tobias</div></div>