歡迎您光臨本站 註冊首頁

apache性能通常怎麼測試?ab測試出現Failed request?

←手機掃碼閱讀     火星人 @ 2014-03-03 , reply:0

apache性能通常怎麼測試?ab測試出現Failed request?

請問:apache通常用什麼工具做性能測試?本地的?遠程的?
ab測試apache出現了Failed request 是什麼原因,/var/log/httpd/下沒記錄相關的信息啊?
下面的結果算正常嗎?
# ab -n 1000 -c 100 http://localhost/
This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Copyright 2006 The Apache Software Foundation, http://www.apache.org/

Benchmarking localhost (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/2.2.3
Server Hostname:        localhost
Server Port:            80

Document Path:          /
Document Length:        39832 bytes

Concurrency Level:      100
Time taken for tests:   14.644505 seconds
Complete requests:      1000
Failed requests:        526
   (Connect: 0, Length: 526, Exceptions: 0)
Write errors:           0
Total transferred:      19285224 bytes
HTML transferred:       18981360 bytes
Requests per second:    68.29 [#/sec] (mean)
Time per request:       1464.450 (mean)
Time per request:       14.645 (mean, across all concurrent requests)
Transfer rate:          1286.01 received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   1.1      0       6
Processing:    48 1374 1528.8    331    6029
Waiting:       46 1370 1529.2    320    6020
Total:         48 1374 1528.9    331    6029

Percentage of the requests served within a certain time (ms)
  50%    331
  66%   2323
  75%   2566
  80%   2695
  90%   3244
  95%   4605
  98%   5176
  99%   5380
100%   6029 (longest request)
《解決方案》

cacti是最常用的嗎?
《解決方案》

loadrunner!
《解決方案》

:em21:

[火星人 ] apache性能通常怎麼測試?ab測試出現Failed request?已經有176次圍觀

http://coctec.com/docs/service/show-post-2709.html