AMH 社区首页
AMH社区 - 开放自由有价值的社区
[求助帖] 咨询大家多访问如何处理 502问题 |
|
---|---|
haiwan |
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 请问有类似解决的 方案吗
点赞,加油! (0分)
2016-05-13 10:48:08 1
|
GeekCnh |
方面就很多了,优化网站程序,升级机器配置,还有很多,都可以解决同时高并发网站挂掉的情况
回复
2016-05-13 18:42:52 2
|