php7 slowlog,php7: php-fpm seems busy提示

最近又有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

这又是怎么回事?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值