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
<value name=”pid_file”>/usr/local/webserver/php/logs/php-fpm.pid</value>
 
2、系统的ulimit -n值与 php-fpm.conf 中的 <value name=”rlimit_files”>51200</value>值不一致造成的。需要在 php-fpm.conf中 加入
ulimit -SHn 51200,并且在  php-fpm.conf 中修改值<value name=”rlimit_files”>51200</value>为一样,重启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
<value name=”rlimit_files”>51200</value>
Set max core size rlimit
<value name=”rlimit_core”>51200</value>

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