正在尝试测试网站的负载能力。我使用的是一个aws ubuntu异种服务器t2.微测试客户端,它的攻城3.0.8和apache基准版本2.3
当ab -c 100 -n 100000 url完成时,没有问题,另一方面,siege -c 100 -i -b -f urldatabase.txt -t 20m生成
** SIEGE 3.0.8
** Preparing 150 concurrent users for battle.
The server is now under siege...[alert] socket: 470009600 select timed out: Connection timed out
[alert] socket: 562329344 select timed out: Connection timed out
[alert] socket: -159443200 select timed out: Connection timed out
[alert] socket: -83908864 select timed out: Connection timed out
[alert] socket: 109123328 select timed out: Connection timed out
[alert] socket: 654649088 select timed out: Connection timed out有必要做些调整吗?我已经学习了一个关于easyengine.com的教程,但这并没有帮助我解决同样的问题。
发布于 2018-02-23 13:49:42
请更新围城。
wget http://download.joedog.org/siege/siege-4.0.4.tar.gz
tar -zxf siege-4.0.4.tar.gz
cd siege-4.0.4
./configure
make
sudo make install
siege.config您可能需要发出以下命令:
sudo mv /usr/local/bin/siege /usr/bin/https://serverfault.com/questions/841822
复制相似问题