httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39670] - ab -n 1 -c 2 does too many requests
Date Sun, 11 Feb 2007 06:06:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39670>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39670





------- Additional Comments From pmk@cs.adelaide.edu.au  2007-02-10 22:06 -------
Created an attachment (id=19571)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=19571&action=view)
Prevents more requests being started than are supposed to be

I've encountered this problem also, and found it to occur even when the number
of requests is a multiple of the concurrency level. The problem is that ab
keeps starting new requests as long as less than the required number have been
completed, so with high concurrency levels it's common for there to be some
requests outstanding when the benchmark completes.

There are situations where starting too many requests could lead to inaccurate
results, e.g. if the additional requests cause the server to do lots of extra
work that ends up slowing down the earlier requests.

The attached patch fixes the problem. It was made against version 2.2.4 of
httpd.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message