最近又有2次seems busy的报错。
上次net.core.somaxconn这个值已经更新,如下:
cat /proc/sys/net/core/somaxconn
32768
php-fpm.conf的配置目前如下:
[www]
listen = /tmp/php-cgi.sock
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
listen.owner = www
listen.group = www
listen.mode = 0666
user = www
group = www
pm = dynamic
pm.max_children = 800
pm.start_servers = 320
pm.min_spare_servers = 180
pm.max_spare_servers = 360
pm.max_requests = 102400
request_terminate_timeout = 300
request_slowlog_timeout = 300
slowlog = var/log/slow.log
rlimit_files = 51200
最近还是有2次seems busy的报错。
[10-Feb-2017 14:07: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 179 idle, and 334 total children
[10-Feb-2017 14:07:45] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 179 idle, and 338 total children
[10-Feb-2017 14:07:46] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 179 idle, and 339 total children
[10-Feb-2017 14:07:47] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 178 idle, and 340 total children
[10-Feb-2017 14:07:48] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 179 idle, and 342 total children
[13-Feb-2017 23:49:22] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 8 children, there are 153 idle, and 327 total children
[13-Feb-2017 23:49:23] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 16 children, there are 158 idle, and 335 total children
[13-Feb-2017 23:49:24] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 173 idle, and 351 total children
[13-Feb-2017 23:49:25] WARNING: [pool www] seems busy (you may need to increase pm.start_servers, or pm.min/max_spare_servers), spawning 32 children, there are 167 idle, and 358 total children
这又是怎么回事?