- 积分
- 41
- 威望
-
- 金钱
-
- 注册时间
- 2011-7-29
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
今天突然发现网站打不开了,top查看,发现CPU占用完了 , 发现时 php-cgi 的问题 !目前还没解决!军哥帮忙看看
参考过这个方法修改,没用
https://bbs.vpser.net/thread-1654-1-1.html
Tasks: 33 total, 9 running, 24 sleeping, 0 stopped, 0 zombie
Cpu0 : 8.6%us, 91.4%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 524800k total, 185500k used, 339300k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
7259 www 18 0 28244 5408 2152 R 90.8 1.0 1:22.82 php-cgi
7257 www 21 0 43276 21m 3628 R 8.5 4.1 1:59.88 php-cgi
再附上php日志 ,php-fpm.log
Apr 15 19:47:24.413841 [WARNING] fpm_children_bury(), line 215: child 7220 (pool default) exited on signal 15 SIGTERM after 50.253477 seconds from start
Apr 15 19:47:24.414185 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 15 19:47:24.414250 [WARNING] fpm_children_bury(), line 215: child 7219 (pool default) exited on signal 15 SIGTERM after 50.258876 seconds from start
Apr 15 19:47:24.415226 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 15 19:47:24.415289 [WARNING] fpm_children_bury(), line 215: child 7218 (pool default) exited on signal 15 SIGTERM after 50.260944 seconds from start
Apr 15 19:47:24.415724 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 15 19:47:24.415857 [WARNING] fpm_children_bury(), line 215: child 7217 (pool default) exited on signal 15 SIGTERM after 50.262358 seconds from start
Apr 15 19:47:24.416476 [NOTICE] fpm_got_signal(), line 48: received SIGCHLD
Apr 15 19:47:24.416566 [WARNING] fpm_children_bury(), line 215: child 7215 (pool default) exited on signal 15 SIGTERM after 50.264775 seconds from start
Apr 15 19:47:24.416656 [NOTICE] fpm_pctl_exit(), line 81: exiting, bye-bye!
Apr 15 19:47:26.479771 [NOTICE] fpm_unix_init_main(), line 284: getrlimit(nofile): max:65535, cur:65535
Apr 15 19:47:26.480066 [NOTICE] fpm_event_init_main(), line 88: libevent: using epoll
Apr 15 19:47:26.480166 [NOTICE] fpm_init(), line 52: fpm is running, pid 7254
Apr 15 19:47:26.481083 [NOTICE] fpm_children_make(), line 352: child 7255 (pool default) started
Apr 15 19:47:26.481925 [NOTICE] fpm_children_make(), line 352: child 7256 (pool default) started
Apr 15 19:47:26.482759 [NOTICE] fpm_children_make(), line 352: child 7257 (pool default) started
Apr 15 19:47:26.483585 [NOTICE] fpm_children_make(), line 352: child 7258 (pool default) started
Apr 15 19:47:26.484415 [NOTICE] fpm_children_make(), line 352: child 7259 (pool default) started
Apr 15 19:47:26.485299 [NOTICE] fpm_children_make(), line 352: child 7260 (pool default) started
Apr 15 19:47:26.506969 [NOTICE] fpm_children_make(), line 352: child 7261 (pool default) started
Apr 15 19:47:26.507864 [NOTICE] fpm_children_make(), line 352: child 7279 (pool default) started
Apr 15 19:47:26.507933 [NOTICE] fpm_event_loop(), line 107: libevent: entering main loop |
|