- 积分
- 6
- 威望
-
- 金钱
-
- 注册时间
- 2012-4-26
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
debian系统,,按照置顶的帖子改了,不行,
按照
这个文章:http://www.kuqin.com/web/20120220/318312.html
改了还不行
我的日志文件 /usr/local/php/logs/php-fpm.log内容如下:- Jun 13 19:18:08.343374 [NOTICE] fpm_got_signal(), line 56: received SIGTERM
- Jun 13 19:18:08.343428 [NOTICE] fpm_pctl(), line 256: switching to 'terminating' state
- Jun 13 19:18:08.343464 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 4767 (pool default)
- Jun 13 19:18:08.343483 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 4765 (pool default)
- Jun 13 19:18:08.343498 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 4763 (pool default)
- Jun 13 19:18:08.343512 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 4762 (pool default)
- Jun 13 19:18:08.343529 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 4761 (pool default)
- Jun 13 19:18:08.343540 [NOTICE] fpm_pctl_kill_all(), line 181: 5 children are still alive
- Jun 13 19:18:08.345361 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:18:08.345424 [WARNING] fpm_children_bury(), line 215: child 4762 (pool default) exited on signal 15 SIGTERM after 480.795660 seconds from start
- Jun 13 19:18:08.345878 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:18:08.345932 [WARNING] fpm_children_bury(), line 215: child 4761 (pool default) exited on signal 15 SIGTERM after 480.798342 seconds from start
- Jun 13 19:18:08.345962 [WARNING] fpm_children_bury(), line 215: child 4767 (pool default) exited on signal 15 SIGTERM after 480.789034 seconds from start
- Jun 13 19:18:08.346025 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:18:08.346077 [WARNING] fpm_children_bury(), line 215: child 4763 (pool default) exited on signal 15 SIGTERM after 480.793935 seconds from start
- Jun 13 19:18:08.347985 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:18:08.348027 [WARNING] fpm_children_bury(), line 215: child 4765 (pool default) exited on signal 15 SIGTERM after 480.793417 seconds from start
- Jun 13 19:18:08.348055 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
- Jun 13 19:18:09.405286 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:1024, cur:1024
- Jun 13 19:18:09.405686 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
- Jun 13 19:18:09.405759 [NOTICE] fpm_init(), line 52: fpm is running, pid 11894
- Jun 13 19:18:09.408197 [NOTICE] fpm_children_make(), line 352: child 11895 (pool default) started
- Jun 13 19:18:09.410643 [NOTICE] fpm_children_make(), line 352: child 11896 (pool default) started
- Jun 13 19:18:09.413004 [NOTICE] fpm_children_make(), line 352: child 11897 (pool default) started
- Jun 13 19:18:09.415279 [NOTICE] fpm_children_make(), line 352: child 11899 (pool default) started
- Jun 13 19:18:09.417430 [NOTICE] fpm_children_make(), line 352: child 11900 (pool default) started
- Jun 13 19:18:09.417488 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
- Jun 13 19:41:07.397826 [NOTICE] fpm_got_signal(), line 56: received SIGTERM
- Jun 13 19:41:07.397887 [NOTICE] fpm_pctl(), line 256: switching to 'terminating' state
- Jun 13 19:41:07.397917 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 11900 (pool default)
- Jun 13 19:41:07.397935 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 11899 (pool default)
- Jun 13 19:41:07.397953 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 11897 (pool default)
- Jun 13 19:41:07.397975 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 11896 (pool default)
- Jun 13 19:41:07.397996 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 11895 (pool default)
- Jun 13 19:41:07.398009 [NOTICE] fpm_pctl_kill_all(), line 181: 5 children are still alive
- Jun 13 19:41:07.400293 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:41:07.400375 [WARNING] fpm_children_bury(), line 215: child 11895 (pool default) exited on signal 15 SIGTERM after 1377.992318 seconds from start
- Jun 13 19:41:07.400426 [WARNING] fpm_children_bury(), line 215: child 11896 (pool default) exited on signal 15 SIGTERM after 1377.989853 seconds from start
- Jun 13 19:41:07.400473 [WARNING] fpm_children_bury(), line 215: child 11897 (pool default) exited on signal 15 SIGTERM after 1377.987541 seconds from start
- Jun 13 19:41:07.400510 [WARNING] fpm_children_bury(), line 215: child 11900 (pool default) exited on signal 15 SIGTERM after 1377.983145 seconds from start
- Jun 13 19:41:07.400539 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:41:07.400550 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:41:07.400563 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:41:07.402180 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:41:07.402241 [WARNING] fpm_children_bury(), line 215: child 11899 (pool default) exited on signal 15 SIGTERM after 1377.987029 seconds from start
- Jun 13 19:41:07.402257 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
- Jun 13 19:41:38.730735 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:4096, cur:1024
- Jun 13 19:41:38.732919 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
- Jun 13 19:41:38.733152 [NOTICE] fpm_init(), line 52: fpm is running, pid 1795
- Jun 13 19:41:38.735363 [NOTICE] fpm_children_make(), line 352: child 1796 (pool default) started
- Jun 13 19:41:38.737322 [NOTICE] fpm_children_make(), line 352: child 1797 (pool default) started
- Jun 13 19:41:38.739549 [NOTICE] fpm_children_make(), line 352: child 1798 (pool default) started
- Jun 13 19:41:38.741747 [NOTICE] fpm_children_make(), line 352: child 1799 (pool default) started
- Jun 13 19:41:38.743998 [NOTICE] fpm_children_make(), line 352: child 1801 (pool default) started
- Jun 13 19:41:38.744085 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
- Jun 13 19:48:22.833659 [NOTICE] fpm_got_signal(), line 56: received SIGTERM
- Jun 13 19:48:22.833716 [NOTICE] fpm_pctl(), line 256: switching to 'terminating' state
- Jun 13 19:48:22.833750 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 1801 (pool default)
- Jun 13 19:48:22.833767 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 1799 (pool default)
- Jun 13 19:48:22.833790 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 1798 (pool default)
- Jun 13 19:48:22.833812 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 1797 (pool default)
- Jun 13 19:48:22.833833 [NOTICE] fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 1796 (pool default)
- Jun 13 19:48:22.833846 [NOTICE] fpm_pctl_kill_all(), line 181: 5 children are still alive
- Jun 13 19:48:22.835233 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:48:22.835310 [WARNING] fpm_children_bury(), line 215: child 1801 (pool default) exited on signal 15 SIGTERM after 403.813830 seconds from start
- Jun 13 19:48:22.835599 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:48:22.835667 [WARNING] fpm_children_bury(), line 215: child 1797 (pool default) exited on signal 15 SIGTERM after 403.820855 seconds from start
- Jun 13 19:48:22.835737 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:48:22.835782 [WARNING] fpm_children_bury(), line 215: child 1799 (pool default) exited on signal 15 SIGTERM after 403.816553 seconds from start
- Jun 13 19:48:22.836005 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:48:22.836048 [WARNING] fpm_children_bury(), line 215: child 1798 (pool default) exited on signal 15 SIGTERM after 403.819034 seconds from start
- Jun 13 19:48:22.837688 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
- Jun 13 19:48:22.837750 [WARNING] fpm_children_bury(), line 215: child 1796 (pool default) exited on signal 15 SIGTERM after 403.824943 seconds from start
- Jun 13 19:48:22.837768 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
- Jun 13 19:49:07.708442 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:4096, cur:1024
- Jun 13 19:49:07.726680 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
- Jun 13 19:49:07.727023 [NOTICE] fpm_init(), line 52: fpm is running, pid 1819
- Jun 13 19:49:07.728761 [NOTICE] fpm_children_make(), line 352: child 1820 (pool default) started
- Jun 13 19:49:07.730547 [NOTICE] fpm_children_make(), line 352: child 1821 (pool default) started
- Jun 13 19:49:07.732509 [NOTICE] fpm_children_make(), line 352: child 1822 (pool default) started
- Jun 13 19:49:07.734281 [NOTICE] fpm_children_make(), line 352: child 1823 (pool default) started
- Jun 13 19:49:07.736230 [NOTICE] fpm_children_make(), line 352: child 1825 (pool default) started
- Jun 13 19:49:07.736288 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop
复制代码 top 内容如下:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1825 www 20 0 26032 10m 5208 R 100 2.1 16:29.41 php-cgi
1820 www 20 0 26792 11m 5204 R 83 2.2 15:02.53 php-cgi
1821 www 20 0 24772 9.8m 5552 R 78 2.0 15:35.50 php-cgi
1823 www 20 0 24960 9516 5148 S 46 1.9 14:33.31 php-cgi
1822 www 20 0 26852 11m 5160 R 44 2.3 15:06.76 php-cgi
1765 root 20 0 46924 772 512 S 0 0.2 0:00.05 memcached
CPU利用太高了。。。高手帮忙解决一下。。。谢谢了。
系统平均负载 | 3.75 3.37 2.43 4/85 |
运行了几个纯php程序是不是太资源了??
[ 本帖最后由 sofeng 于 2012-6-14 13:49 编辑 ] |
|