[root@NOTEBOOK ~] time for i in 128 321; do sleep 302; ab -n $i -c $i https://EXAMPLE.COM/ 2>/dev/null | egrep '^Complete requests:|^Failed requests:|^Requests per second:|^Time taken for tests:'; echo '______________________'; done
Time taken for tests: 87.538 seconds
Complete requests: 128
Failed requests: 0
Requests per second: 1.46 [#/sec] (mean)
______________________
Time taken for tests: 58.507 seconds
Complete requests: 321
Failed requests: 490
Requests per second: 5.49 [#/sec] (mean)
______________________
问:怎么可能失败的请求>完成的请求?
ps:需要“睡眠302”,因为不知何故,如果我做太多ab,那么输出将100%失败。