产品服务AMH 免费服务器主机面板SSL证书 免费SSL证书申请 担保单 免费安全、零费率交易平台编程助手免费智能写代码、翻译AMYSQL 免费MySQL管理工具

AMH 社区首页

 AMH社区 - 开放自由有价值的社区

[求助帖] 咨询大家多访问如何处理 502问题

haiwan
铁牌会员
8.00 价值分

haiwan 发表于 2016-05-13 10:48:08
我最近使用lamp 搭建了一个网站
我 使用压力测试 模拟500 并发
网站瞬间秒挂 抛出502 错误
php日志 是
[12-May-2016 14:08:14] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 5 total children
[12-May-2016 14:08:15] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 0 idle, and 6 total children
[12-May-2016 14:08:16] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 7 total children
[12-May-2016 14:08:17] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 8 total children
[12-May-2016 14:08:18] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 0 idle, and 9 total children
[12-May-2016 14:08:19] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
[12-May-2016 14:08:44] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 9 total children
[12-May-2016 14:08:45] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it
[12-May-2016 14:19:18] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 0 idle, and 9 total children
[12-May-2016 14:19:19] WARNING: [pool www] server reached pm.max_children setting (10), consider raising it


请问有类似解决的 方案吗
2016-05-13 10:48:08 1

GeekCnh
银牌会员
1016.93 价值分

方面就很多了,优化网站程序,升级机器配置,还有很多,都可以解决同时高并发网站挂掉的情况
  支持 (0分)  反对 (0分)
回复  2016-05-13 18:42:52 2
 1  (总1页)
AMH社区列表
用户服务中心