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 50644] Add support for maximum number of requests per Keep-Alive connection to apachebench
Date Wed, 22 Jun 2011 21:14:51 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=50644

Stefan Fritsch <sf@sfritsch.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|PatchAvailable              |

--- Comment #4 from Stefan Fritsch <sf@sfritsch.de> 2011-06-22 21:14:51 UTC ---
With a large number of requests, this makes my machine run out of ports because
too many connections are in TIME_WAIT:

ab -n 100000 -c 40 -k -m 2  http://localhost/
This is ApacheBench, Version 2.3 <$Revision: 1125877 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (be patient)
Completed 10000 requests
Completed 20000 requests
Completed 30000 requests
Completed 40000 requests
Completed 50000 requests

Test aborted after 10 failures

apr_socket_connect(): Cannot assign requested address (99)
Total of 56404 requests completed


The problem probably appears because now ab closes the connections first while
without that option, httpd closes the connections first.

-- 
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


Mime
View raw message