<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[沧海一粟]]></title> 
<link>http://www.dzhope.com/index.php</link> 
<description><![CDATA[Web系统架构与服务器运维,php开发]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[沧海一粟]]></copyright>
<item>
<link>http://www.dzhope.com/post//</link>
<title><![CDATA[[WARNING] fpm_children_bury() php-fpm问题解决方法]]></title> 
<author>jed &lt;jed521@163.com&gt;</author>
<category><![CDATA[服务器技术]]></category>
<pubDate>Thu, 13 May 2010 01:57:45 +0000</pubDate> 
<guid>http://www.dzhope.com/post//</guid> 
<description>
<![CDATA[ 
	centos 5.3 nginx-0.8.31-1.el5 php-fpm-5.2.11<br/># service php-fpm start<br/>Jan 08 10:55:22.912284 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:1024, cur:1024<br/>Jan 08 10:55:22.913126 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll<br/>Jan 08 10:55:22.913404 [NOTICE] fpm_init(), line 50: fpm is running, pid 2730<br/>Jan 08 10:55:22.918493 [NOTICE] fpm_children_make(), line 352: child 2731 (pool default) started<br/>Jan 08 10:55:22.922118 [NOTICE] fpm_children_make(), line 352: child 2732 (pool default) started<br/>Jan 08 10:55:22.924813 [NOTICE] fpm_children_make(), line 352: child 2734 (pool default) started<br/>Jan 08 10:55:22.927509 [NOTICE] fpm_children_make(), line 352: child 2735 (pool default) started<br/>Jan 08 10:55:22.929378 [NOTICE] fpm_children_make(), line 352: child 2736 (pool default) started<br/>Jan 08 10:55:22.930268 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop<br/><br/># service php-fpm stop<br/>php-fpm.log 会出现以下问题<br/>Jan 08 10:56:22.516549 [NOTICE] fpm_got_signal(), line 56: received SIGTERM<br/>Jan 08 10:56:22.516620 [NOTICE] fpm_pctl(), line 256: switching to ‘terminating’ state<br/>Jan 08 10:56:22.516666 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 2736 (pool default)<br/>Jan 08 10:56:22.516707 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 2735 (pool default)<br/>Jan 08 10:56:22.516729 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 2734 (pool default)<br/>Jan 08 10:56:22.516747 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 2732 (pool default)<br/>Jan 08 10:56:22.516765 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 2731 (pool default)<br/>Jan 08 10:56:22.516778 [NOTICE] fpm_pctl_kill_all(), line 181: 5 children are still alive<br/>Jan 08 10:56:22.517532 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD<br/>Jan 08 10:56:22.517620 [WARNING] fpm_children_bury(), line 215: child 2736 (pool default) exited on signal 15 SIGTERM after 59.588363 seconds from start<br/>Jan 08 10:56:22.518131 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD<br/>Jan 08 10:56:22.518195 [WARNING] fpm_children_bury(), line 215: child 2735 (pool default) exited on signal 15 SIGTERM after 59.590726 seconds from start<br/>Jan 08 10:56:22.518906 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD<br/>Jan 08 10:56:22.518969 [WARNING] fpm_children_bury(), line 215: child 2734 (pool default) exited on signal 15 SIGTERM after 59.594192 seconds from start<br/>Jan 08 10:56:22.519518 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD<br/>Jan 08 10:56:22.519580 [WARNING] fpm_children_bury(), line 215: child 2732 (pool default) exited on signal 15 SIGTERM after 59.597517 seconds from start<br/>Jan 08 10:56:22.520107 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD<br/>Jan 08 10:56:22.520159 [WARNING] fpm_children_bury(), line 215: child 2731 (pool default) exited on signal 15 SIGTERM after 59.601726 seconds from start<br/>Jan 08 10:56:22.520193 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!<br/><br/># vi /etc/sysctl.conf <br/>底部添加<br/>fs.file-max=65535 <br/>#vi /etc/security/limits.conf<br/>加上<br/>* soft nofile 65535<br/>* hard nofile 65535<br/><br/><br/>Tags - <a href="http://www.dzhope.com/tags/ngnix/" rel="tag">ngnix</a> , <a href="http://www.dzhope.com/tags/php-fpm/" rel="tag">php-fpm</a>
]]>
</description>
</item><item>
<link>http://www.dzhope.com/post//#blogcomment</link>
<title><![CDATA[[评论] [WARNING] fpm_children_bury() php-fpm问题解决方法]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.dzhope.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>