<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;"><div>Hi,</div><div>  The 2s is the delay between which the requests are fired from the client side on the same connection.</div><div><br></div><div>Thanks,</div><div>Jagannath</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> "Valentin V. Bartenev" <<a href="mailto:vbart@nginx.com">vbart@nginx.com</a>><br><span style="font-weight:bold">Organization: </span> NGINX, Inc.<br><span style="font-weight:bold">Reply-To: </span> "<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>" <<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br><span style="font-weight:bold">Date: </span> Thursday, November 20, 2014 at 10:07 PM<br><span style="font-weight:bold">To: </span> "<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>" <<a href="mailto:nginx@nginx.org">nginx@nginx.org</a>><br><span style="font-weight:bold">Subject: </span> Re: Using both keepalive requests and timeout<br></div><div><br></div><div><div><div>On Thursday 20 November 2014 20:40:30 Das, Jagannath wrote:</div><blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;"><div> I tried with 10s, 30s, 40s .</div></blockquote><div><br></div><div>But you have set 2s timeout between requests in httperf,</div><div>so how do you expect it to work?</div><div><br></div><div>It's a timeout for inactive keep-alive connection.</div><div><br></div><div>If you set keepalive_timeout 10s; then a connection</div><div>will be closed after 10 seconds of inactivity, but</div><div>httperf with the --wsess=1,102,2 parameters sends</div><div>new requests every 2 seconds.</div><div><br></div><div>See also: <a href="http://tools.ietf.org/html/rfc7230#section-6.5">http://tools.ietf.org/html/rfc7230#section-6.5</a></div><div><br></div><div>  wbr, Valentin V. Bartenev</div><div><br></div><div>_______________________________________________</div><div>nginx mailing list</div><div><a href="mailto:nginx@nginx.org">nginx@nginx.org</a></div><div><a href="http://mailman.nginx.org/mailman/listinfo/nginx">http://mailman.nginx.org/mailman/listinfo/nginx</a></div><div><br></div></div></div></span></body></html>