我做了 AB Apache 测试,看起来不错,但是当我加载我的网站时出现错误

我做了 AB Apache 测试,看起来不错,但是当我加载我的网站时出现错误

我有一个在线购物网站,我使用 WordPress、WooCommerce 和 W3 Total Cache。

我做了一个 AB:

    ab -l -r -n 600 -c 30 -k -H "Accept-Encoding: gzip, deflate"

我得到以下结果:

    Server Software:        LiteSpeed
    Server Hostname:        *******************
    Server Port:            80

    Document Path:          /
    Document Length:        Variable

    Concurrency Level:      30
    Time taken for tests:   31.311 seconds
    Complete requests:      600
    Failed requests:        0
    Keep-Alive requests:    0
    Total transferred:      6349627 bytes
    HTML transferred:       6210786 bytes
    Requests per second:    19.16 [#/sec] (mean)
    Time per request:       1565.550 [ms] (mean)
    Time per request:       52.185 [ms] (mean, across all concurrent requests)
    Transfer rate:          198.04 [Kbytes/sec] received

    Connection Times (ms)
                  min  mean[+/-sd] median   max
    Connect:      167  389 272.8    346    3408
    Processing:   234 1057 1371.0    442   12508
    Waiting:      195  495 482.7    386    4968
    Total:        405 1446 1394.5    851   12808

    Percentage of the requests served within a certain time (ms)
      50%    851
      66%    992
      75%   1664
      80%   2421
      90%   3442
      95%   4078
      98%   6122
      99%   6766
     100%  12808 (longest request)

看起来还不错,但问题是每天20/30次我得到一个请求超时错误,有时我会遇到其他错误。我联系了托管方,他们总是说没问题。我很困惑。我只想问...我的测试有问题吗?谢谢...

相关内容