ab -n 1000 -c 100 -k
http://www.ltd./index.php
erzeugt auch die hohe Last, das ist klar:
Code:
top - 16:33:14 up 23:07, 2 users, load average: 9.32, 8.50, 5.45
Tasks: 215 total, 11 running, 204 sleeping, 0 stopped, 0 zombie
Cpu(s): 92.7%us, 7.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.3%si, 0.0%st
Mem: 994476k total, 713512k used, 280964k free, 47288k buffers
Swap: 1044208k total, 40k used, 1044168k free, 433468k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2532 mysql 20 0 54448 37m 5120 S 12.6 3.8 91:51.54 mysqld
17784 vu2002 20 0 57472 11m 4636 R 10.6 1.2 0:01.44 php5-cgi
14939 vu2002 20 0 57864 15m 7936 R 9.0 1.5 0:44.46 php5-cgi
9348 vu2002 20 0 58464 18m 10m R 8.6 1.9 1:31.69 php5-cgi
14938 vu2002 20 0 58040 17m 9.8m R 8.3 1.8 0:43.52 php5-cgi
9349 vu2002 20 0 58448 19m 11m R 8.0 2.0 1:32.57 php5-cgi
15843 vu2002 20 0 57676 14m 7260 R 8.0 1.5 0:23.80 php5-cgi
15844 vu2002 20 0 57676 12m 6060 R 8.0 1.3 0:24.08 php5-cgi
15942 vu2002 20 0 57620 14m 7376 R 8.0 1.5 0:23.60 php5-cgi
15943 vu2002 20 0 57472 12m 5444 R 8.0 1.3 0:24.42 php5-cgi
17783 vu2002 20 0 57472 11m 4836 R 8.0 1.2 0:01.48 php5-cgi
edit//
Hier mal das ganze Ergebniss
Code:
Benchmarking *********** (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests
Server Software: Apache
Server Hostname: ***********
Server Port: 80
Document Path: /index.php
Document Length: 169832 bytes
Concurrency Level: 100
Time taken for tests: 1006.846339 seconds
Complete requests: 1000
Failed requests: 920
(Connect: 0, Length: 920, Exceptions: 0)
Write errors: 0
Keep-Alive requests: 0
Total transferred: 170748455 bytes
HTML transferred: 170511455 bytes
Requests per second: 0.99 [#/sec] (mean)
Time per request: 100684.631 [ms] (mean)
Time per request: 1006.846 [ms] (mean, across all concurrent requests)
Transfer rate: 165.61 [Kbytes/sec] received
Connection Times (ms)
min mean[+/-sd] median max
Connect: 0 1 3.2 0 12
Processing: 12026 95908 25740.3 100438 151656
Waiting: 11929 95800 25742.5 100330 151487
Total: 12035 95909 25738.0 100438 151656
Percentage of the requests served within a certain time (ms)
50% 100438
66% 107825
75% 112222
80% 115420
90% 126821
95% 131656
98% 140701
99% 144154
100% 151656 (longest request)