本帖最后由 谢花郎 于 2019-8-15 16:54 编辑
服务器:2核8G
nginx+mysql5.7+php7.0
按宝塔的设置设了300并发
php的日志里这2天有提醒
[14-Aug-2019 00:02:10] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 16 idle, and 130 total children
[14-Aug-2019 00:02:11] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 22 idle, and 138 total children
[15-Aug-2019 11:02:40] 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 153 total children
[15-Aug-2019 11:02:41] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 15 idle, and 161 total children
[15-Aug-2019 12:03:01] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 15 idle, and 183 total children
[15-Aug-2019 12:03:02] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 26 idle, and 191 total children
这里的WARNING提到的都没有达到300并发啊? 为什么有这个提示呢?
查看监控,提示时间时的内存才到70%左右(平时不到50%)
|
|