测试结果 Server Port: 443 SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256
Document Path: / Document Length: 166 bytes
Concurrency Level: 300 Time taken for tests: 12.325 seconds Complete requests: 500 Failed requests: 257 (Connect: 0, Receive: 0, Length: 257, Exceptions: 0) Non-2xx responses: 243 Total transferred: 124917 bytes HTML transferred: 47791 bytes Requests per second: 40.57 [#/sec] (mean) Time per request: 7395.060 [ms] (mean) Time per request: 24.650 [ms] (mean, across all concurrent requests) Transfer rate: 9.90 [Kbytes/sec] received
Connection Times (ms) min mean[+/-sd] median max Connect: 557 1737 783.3 1517 3500 Processing: 30 2514 2053.8 1862 6267 Waiting: 28 2360 2152.5 1711 6267 Total: 1248 4251 2325.3 5031 8428
Percentage of the requests served within a certain time (ms) 50% 5031 66% 5784 75% 6284 80% 6574 90% 7450 95% 7755 98% 8107 99% 8338 100% 8428 (longest request)
配置信息: nginx.conf
user www www;
worker_processes auto;
error_log /home/wwwlogs/nginx_error.log crit;
pid /usr/local/nginx/logs/nginx.pid;
#Specifies the value for maximum file descriptors that can be opened by this process. worker_rlimit_nofile 51200;