php notice,php-fpm.log(notice级别的警告)

Jun 09 10:57:14.032477 [NOTICE] fpm_children_make(), line 352: child 5173 (pool default) started

Jun 09 10:57:14.033897 [NOTICE] fpm_children_make(), line 352: child 5174 (pool default) started

Jun 09 10:57:14.035245 [NOTICE] fpm_children_make(), line 352: child 5175 (pool default) started

Jun 09 10:57:14.036467 [NOTICE] fpm_children_make(), line 352: child 5176 (pool default) started

Jun 09 10:57:14.037470 [NOTICE] fpm_children_make(), line 352: child 5177 (pool default) started

Jun 09 10:57:14.038805 [NOTICE] fpm_children_make(), line 352: child 5178 (pool default) started

Jun 09 10:57:14.039469 [NOTICE] fpm_children_make(), line 352: child 5179 (pool default) started

Jun 09 10:57:14.040477 [NOTICE] fpm_children_make(), line 352: child 5180 (pool default) started

Jun 09 10:57:14.041902 [NOTICE] fpm_children_make(), line 352: child 5181 (pool default) started

Jun 09 10:57:14.043265 [NOTICE] fpm_children_make(), line 352: child 5182 (pool default) started

Jun 09 10:57:14.044466 [NOTICE] fpm_children_make(), line 352: child 5183 (pool default) started

Jun 09 10:57:14.045469 [NOTICE] fpm_children_make(), line 352: child 5184 (pool default) started

Jun 09 10:57:14.046821 [NOTICE] fpm_children_make(), line 352: child 5185 (pool default) started

Jun 09 10:57:14.047471 [NOTICE] fpm_children_make(), line 352: child 5186 (pool default) started

Jun 09 10:57:14.048479 [NOTICE] fpm_children_make(), line 352: child 5187 (pool default) started

Jun 09 10:57:14.050045 [NOTICE] fpm_children_make(), line 352: child 5188 (pool default) started

Jun 09 10:57:14.051422 [NOTICE] fpm_children_make(), line 352: child 5189 (pool default) started

Jun 09 10:57:14.052471 [NOTICE] fpm_children_make(), line 352: child 5190 (pool default) started

Jun 09 10:57:14.053465 [NOTICE] fpm_children_make(), line 352: child 5191 (pool default) started

Jun 09 10:57:14.054830 [NOTICE] fpm_children_make(), line 352: child 5193 (pool default) started

Jun 09 10:57:14.055465 [NOTICE] fpm_children_make(), line 352: child 5194 (pool default) started

Jun 09 10:57:14.056962 [NOTICE] fpm_children_make(), line 352: child 5195 (pool default) started

Jun 09 10:57:14.057470 [NOTICE] fpm_children_make(), line 352: child 5196 (pool default) started

Jun 09 10:57:14.058860 [NOTICE] fpm_children_make(), line 352: child 5197 (pool default) started

Jun 09 10:57:14.060284 [NOTICE] fpm_children_make(), line 352: child 5198 (pool default) started

Jun 09 10:57:14.061682 [NOTICE] fpm_children_make(), line 352: child 5199 (pool default) started

Jun 09 10:57:14.063073 [NOTICE] fpm_children_make(), line 352: child 5200 (pool default) started

Jun 09 10:57:14.063112 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop

一般有以下几种可能:

1、php-cgi启动脚本 /usr/local/php/sbin/php-fpm 与 php-fpm.conf中的pid路径不一样,修改成一样,重启php-cgi就可以了。

# grep “php-fpm.pid” /usr/local/webserver/php/sbin/php-fpm

php_fpm_PID=/usr/local/webserver/php/logs/php-fpm.pid

# grep “pid” /usr/local/webserver/php/etc/php-fpm.conf

/usr/local/webserver/php/logs/php-fpm.pid

2、系统的ulimit -n值与 php-fpm.conf 中的 51200值不一致造成的。需要在 php-fpm.conf中 加入

ulimit -SHn 51200,并且在  php-fpm.conf 中修改值51200为一样,重启php-cgi就可以了。

a、检查ulimit -n

51200

b、检查vim /etc/security/limits.conf

* hard nofile 51200

* soft nofile 51200

c、检查php-fpm.conf文件里面相关的选项

Set open file desc rlimit

51200

Set max core size rlimit

51200

不过,我的这样配置都改成一样的了,重启php-cgi还是一样的错误。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值