It looks like ApacheBench is broken (ab2) with Apache 2.0.47. When benchmarking, I receive the following: ab2 -n 100 -c 10 http://mywebsite/mypage.php This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.1 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking mywebsite (be patient)...apr_poll: The timeout specified has expired (70007) Others have reported similar problems on the forums (http://forums.gentoo.org/viewtopic.php?t=83493&highlight=aprpoll) A quick search on Google showed that other distros suffer from the same problem and it looks like Mandrake has solved it (see http://qa.mandrakesoft.com/show_bug.cgi?id=6010) I hope this helps to solve the problem. Cheers, Xavier Reproducible: Always Steps to Reproduce: ab2 -n 100 -c 10 http://mywebsite/mypage.php Actual Results: Benchmarking mywebsite (be patient)...apr_poll: The timeout specified has expired (70007) Expected Results: Concurrency Level: 5 Time taken for tests: 16.697131 seconds Complete requests: 500 Failed requests: 512 (Connect: 0, Length: 488, Exceptions: 24) Write errors: 0 Total transferred: 50969041 bytes HTML transferred: 50900397 bytes Requests per second: 29.95 [#/sec] (mean) Time per request: 166.971 [ms] (mean) Time per request: 33.394 [ms] (mean, across all concurrent requests) Transfer rate: 2980.99 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 0 0.2 0 2 Processing: 57 158 48.1 156 351 Waiting: -152 -62 34.7 -74 0 Total: 57 158 48.1 156 351 Percentage of the requests served within a certain time (ms) 50% 156 66% 183 75% 192 80% 201 90% 216 95% 233 98% 275 99% 299 100% 351 (longest request)
Thanks for the informative pointer to the Mandrake bug, it certainly does make things easier to track.
Hi again, Apache 2.0.48 is just out and by checking the change log, it looks like this bug has been closed in the new version: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21495 However, if I'm mistaken, I would be glad to help. Cheers, Xavier
Yup looks like it... I'll check apache-2.0.48.ebuild into the tree in a few minutes.