分享我的生活
分享能使人快乐

vps的502错误又开始出现

vps又经不起了,开始502,郁闷
用discuz去压vps,打开88个页面出现4个502,结果应该很烂吧
用wordpress去压vps打开45个页面出现2个502,和上面的结果应该差不多

用Webbench去测试网站的耐压能力,nginx在这个512的vps上能轻松抵得住200并发链接的冲击,没敢再网上开,怕压死了还得重启,在并发173的时候,我用网页打开phpinfo.php还算是很轻松的没出现什么错误,只是让我碰到一次502,估计还是phpcgi的问题

[root@myvps webbench-1.5]# webbench -c 50 -t 30 http://bbs.1dle.com/index.php
Webbench – Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://bbs.1dle.com/index.php
50 clients, running 30 sec.

Speed=19090 pages/min, 16092437 bytes/sec.
Requests: 9545 susceed, 0 failed.
[root@myvps webbench-1.5]# webbench -c 100 -t 30 http://bbs.1dle.com/index.php
Webbench – Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://bbs.1dle.com/index.php
100 clients, running 30 sec.

Speed=21942 pages/min, 17903058 bytes/sec.
Requests: 10971 susceed, 0 failed.
[root@myvps webbench-1.5]# webbench -c 200 -t 30 http://bbs.1dle.com/index.php
Webbench – Simple Web Benchmark 1.5
Copyright (c) Radim Kolar 1997-2004, GPL Open Source Software.

Benchmarking: GET http://bbs.1dle.com/index.php
200 clients, running 30 sec.

Speed=18074 pages/min, 15281839 bytes/sec.
Requests: 9037 susceed, 0 failed.

赞(0)

我想说 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址