Skip to content

Instantly share code, notes, and snippets.

@morten
Created September 25, 2010 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save morten/597012 to your computer and use it in GitHub Desktop.
Save morten/597012 to your computer and use it in GitHub Desktop.
This gist shows 2 failing runs. One where sending 17K requests,
the second sending 2 x 8500 hits. Both fail.
morten@pokker ~$ ab -c 100 -n 17000 http://0.0.0.0:9000/wibble
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 0.0.0.0 (be patient)
Completed 1700 requests
Completed 3400 requests
Completed 5100 requests
Completed 6800 requests
Completed 8500 requests
Completed 10200 requests
Completed 11900 requests
Completed 13600 requests
Completed 15300 requests
apr_poll: The timeout specified has expired (70007)
Total of 16438 requests completed
morten@pokker ~$
morten@pokker ~$ ab -c 100 -n 8500 http://0.0.0.0:9000/wibble
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 0.0.0.0 (be patient)
Completed 850 requests
Completed 1700 requests
Completed 2550 requests
Completed 3400 requests
Completed 4250 requests
Completed 5100 requests
Completed 5950 requests
Completed 6800 requests
Completed 7650 requests
Completed 8500 requests
Finished 8500 requests
Server Software:
Server Hostname: 0.0.0.0
Server Port: 9000
Document Path: /wibble
Document Length: 6 bytes
Concurrency Level: 100
Time taken for tests: 1.036 seconds
Complete requests: 8500
Failed requests: 0
Write errors: 0
Total transferred: 603500 bytes
HTML transferred: 51000 bytes
Requests per second: 8205.65 [#/sec] (mean)
Time per request: 12.187 [ms] (mean)
Time per request: 0.122 [ms] (mean, across all concurrent requests)
Transfer rate: 568.95 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 0 0.5 0 5
Processing: 3 12 7.0 11 49
Waiting: 1 11 6.8 10 49
Total: 5 12 6.9 11 49
Percentage of the requests served within a certain time (ms)
50% 11
66% 11
75% 11
80% 11
90% 12
95% 13
98% 48
99% 49
100% 49 (longest request)
morten@pokker ~$ ab -c 100 -n 8500 http://0.0.0.0:9000/wibble
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/
Benchmarking 0.0.0.0 (be patient)
Completed 850 requests
Completed 1700 requests
Completed 2550 requests
Completed 3400 requests
Completed 4250 requests
Completed 5100 requests
Completed 5950 requests
Completed 6800 requests
Completed 7650 requests
apr_poll: The timeout specified has expired (70007)
Total of 7956 requests completed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment