You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/01/07 01:39:04 UTC
DO NOT REPLY [Bug 48497] New: apachebench keepalive option sends an
incorrect number of requests
https://issues.apache.org/bugzilla/show_bug.cgi?id=48497
Summary: apachebench keepalive option sends an incorrect number
of requests
Product: Apache httpd-2
Version: 2.2.14
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: support
AssignedTo: bugs@httpd.apache.org
ReportedBy: dole@blekko.com
Created an attachment (id=24807)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24807)
patch to fix ab.c ton only send the correct number of requests for keepalive
sessions
ab -k -n 1 http://www.example.com/
will send more than one GET request. The problem is worse for higher
concurrency levels. The issue is how the started connections is counted.
I first discovered this watching a tcp dump of ab at work. It would
consistently send one extra GET request per connection and then close the tcp
session before the reply would return. Resulting in a TCP RST packet.
I'm attaching a patch that actually simplifies the accounting of started
requests and prevents apachebench from starting more requests than it should.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 48497] apachebench keepalive option sends an
incorrect number of requests
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48497
Dan Poirier <po...@pobox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |FixedInTrunk
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Dan Poirier <po...@pobox.com> 2010-05-03 13:34:40 EDT ---
Fix committed to trunk as r940526. Thanks for the patch.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org