Red Hat Bugzilla – Bug 110887
ab - apachebench timeouts in apr_poll
Last modified: 2007-11-30 17:10:34 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4)
Description of problem:
running apachebench against apache or tomcat gives
apr_poll: * timeout * (70007)
ab -n 1000 -c 10 http://localhost:80/index.html
ab -n 1000 -c 10 http://localhost:80/index.php
ab -n 1000 -c 10 http://localhost:8080/index.jsp
same with keepalives allowed.
apache bench does open sockets to server (exactly the number specified
as concurency parametr)
stacing ab shows it opens socket sets nodelay flag does connect which
returns einprogress and then apachebench waits in poll until it timeouts.
it is not firewall problem - telnet localhost 80 works as expected
it is not server configuration problem - running ab from some unknown
version of mandrake against mentioned servers returns results as expected.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install fedora minimal
2.rpm -i http* php-4*
3.ab ... as shown in description
Actual Results: apr_poll: * timeout * (70007)
Expected Results: run and give some numbers.
could it be because of apache/apache runtime rewrite?
This is fixed in the 2.0.48 update: see bug 108608 for location of
I'm confirming that the httpd-2.0.48-1.2 fixes the problem for me.
Thanks for testing it! The update has now been issued.