[Bug 230878] Re: Apache 2 produces an OOM after 4 hours using
Léobaillard
leobaillard at leobaillard.org
Mon May 19 22:18:41 BST 2008
I ran some ab tests (it's my first time so maybe the settings were too
low, you'll tell me) but it didn't produce an OOM. I couldn't get a
fresh htop when the server was loading but I've taken a screenshot just
before the SSH has frozen.
Here are the ab results
$ ab -c 50 -n 50000 http://<server>/
Benchmarking <server> (be patient)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Finished 50000 requests
Server Software: Apache
Server Hostname: <server>
Server Port: 80
Document Path: /
Document Length: 224 bytes
Concurrency Level: 50
Time taken for tests: 172.678631 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Non-2xx responses: 50005
Total transferred: 21802180 bytes
HTML transferred: 11201120 bytes
Requests per second: 289.56 [#/sec] (mean)
Time per request: 172.679 [ms] (mean)
Time per request: 3.454 [ms] (mean, across all concurrent requests)
Transfer rate: 123.30 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 58 414.4 17 21013
Processing: 2 82 1320.6 18 90756
Waiting: 1 55 1264.2 17 90741
Total: 5 140 1397.8 36 90774
Percentage of the requests served within a certain time (ms)
50% 36
66% 36
75% 38
80% 39
90% 40
95% 44
98% 1887
99% 3036
100% 90774 (longest request)
$ ab -c 500 -n 50000 http://<server>/
Benchmarking <server> (be patient)
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Finished 50000 requests
Server Software: Apache
Server Hostname: <server>
Server Port: 80
Document Path: /
Document Length: 224 bytes
Concurrency Level: 500
Time taken for tests: 173.445502 seconds
Complete requests: 50000
Failed requests: 0
Write errors: 0
Non-2xx responses: 50006
Total transferred: 21802616 bytes
HTML transferred: 11201344 bytes
Requests per second: 288.27 [#/sec] (mean)
Time per request: 1734.455 [ms] (mean)
Time per request: 3.469 [ms] (mean, across all concurrent requests)
Transfer rate: 122.75 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 1 82 920.7 18 93023
Processing: 2 142 2040.2 20 146381
Waiting: 1 92 1933.3 20 146363
Total: 3 224 2265.0 39 146408
Percentage of the requests served within a certain time (ms)
50% 39
66% 45
75% 58
80% 63
90% 77
95% 85
98% 3036
99% 4119
100% 146408 (longest request)
** Attachment added: "htop-apache-loading.png"
http://launchpadlibrarian.net/14610776/htop-apache-loading.png
--
Apache 2 produces an OOM after 4 hours using
https://bugs.launchpad.net/bugs/230878
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to apache2 in ubuntu.
More information about the Ubuntu-server-bugs
mailing list