OpenLiteSpeed 性能不佳且 SSL 握手失败 (5)
OpenLiteSpeed Poor Performance and SSL handshake failed(5)
我正在使用 OpenLiteSpeed + Wordpress + LiteSpeed 缓存 (https://marketplace.digitalocean.com/apps/openlitespeed-wordpress)。我不知道为什么表现很糟糕。此外,当我进行负载测试时,出现许多“SSL 握手失败 (5)”错误。对于 SSL 证书,我是从 Let's Encrypt 获得的。有什么建议吗?谢谢
OpenLiteSpeed httpd_config.conf
CPU 大部分时间都是空闲的。
这似乎是您的测试客户端问题。请在同一区域准备您的客户端服务器,以避免任何网络延迟问题。例如,我启动了一个加利福尼亚节点和 运行 相同的基准测试命令,结果比你的快 8 倍。
h2load -n 100000 -c 100 -t 1 -T 5 -m 10 -H 'Accept-Encoding: gzip,deflate'
https://www.gospel4china.org/
starting benchmark...
spawning thread #0: 100 total client(s). 100000 total requests
TLS Protocol: TLSv1.3
Cipher: TLS_AES_256_GCM_SHA384
Server Temp Key: X25519 253 bits
Application protocol: h2
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done
finished in 13.83s, 7232.49 req/s, 218.66MB/s
requests: 100000 total, 100000 started, 100000 done, 100000 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 100000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 2.95GB (3170223982) total, 1.16MB (1219082) headers (space savings 99.47%), 2.95GB (3165400000) data
min max mean sd +/- sd
time for request: 536us 3.65s 113.50ms 195.50ms 89.74%
time for connect: 14.72ms 87.00ms 49.23ms 18.02ms 63.00%
time to 1st byte: 74.08ms 114.00ms 89.39ms 10.21ms 59.00%
req/s : 72.34 132.13 88.26 9.67 79.00%
仅供参考,对于此类 server/network 问题,请下次在服务器故障中 post。
我正在使用 OpenLiteSpeed + Wordpress + LiteSpeed 缓存 (https://marketplace.digitalocean.com/apps/openlitespeed-wordpress)。我不知道为什么表现很糟糕。此外,当我进行负载测试时,出现许多“SSL 握手失败 (5)”错误。对于 SSL 证书,我是从 Let's Encrypt 获得的。有什么建议吗?谢谢
OpenLiteSpeed httpd_config.conf
CPU 大部分时间都是空闲的。
这似乎是您的测试客户端问题。请在同一区域准备您的客户端服务器,以避免任何网络延迟问题。例如,我启动了一个加利福尼亚节点和 运行 相同的基准测试命令,结果比你的快 8 倍。
h2load -n 100000 -c 100 -t 1 -T 5 -m 10 -H 'Accept-Encoding: gzip,deflate'
https://www.gospel4china.org/
starting benchmark...
spawning thread #0: 100 total client(s). 100000 total requests
TLS Protocol: TLSv1.3
Cipher: TLS_AES_256_GCM_SHA384
Server Temp Key: X25519 253 bits
Application protocol: h2
progress: 10% done
progress: 20% done
progress: 30% done
progress: 40% done
progress: 50% done
progress: 60% done
progress: 70% done
progress: 80% done
progress: 90% done
progress: 100% done
finished in 13.83s, 7232.49 req/s, 218.66MB/s
requests: 100000 total, 100000 started, 100000 done, 100000 succeeded, 0 failed, 0 errored, 0 timeout
status codes: 100000 2xx, 0 3xx, 0 4xx, 0 5xx
traffic: 2.95GB (3170223982) total, 1.16MB (1219082) headers (space savings 99.47%), 2.95GB (3165400000) data
min max mean sd +/- sd
time for request: 536us 3.65s 113.50ms 195.50ms 89.74%
time for connect: 14.72ms 87.00ms 49.23ms 18.02ms 63.00%
time to 1st byte: 74.08ms 114.00ms 89.39ms 10.21ms 59.00%
req/s : 72.34 132.13 88.26 9.67 79.00%
仅供参考,对于此类 server/network 问题,请下次在服务器故障中 post。