军哥求助,lnmp使用过程中突然不能用了,日志已贴出
军哥,感谢百忙这中阅读此贴,服务器使用lnmp一直好好的,突然从今天开始就访问速度特别慢,还会出现502 Bad Gateway,以前用着一直都好好的,突然就这样了,按常见问题中的解决方法修改了也不行,贴出日志,麻烦军哥帮助分析下:
(pool default) exited on signal 15 SIGTERM after 3254.666386 seconds from start
Jun 07 09:19:06.872699 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.872767 fpm_children_bury(), line 215: child 17285 (pool default) exited on signal 15 SIGTERM after 9818.418278 seconds from start
Jun 07 09:19:06.873861 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.873917 fpm_children_bury(), line 215: child 13757 (pool default) exited on signal 15 SIGTERM after 36340.085956 seconds from start
Jun 07 09:19:06.874227 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.874258 fpm_children_bury(), line 215: child 15324 (pool default) exited on signal 15 SIGTERM after 18429.074504 seconds from start
Jun 07 09:19:06.874268 fpm_pctl_exit(), line 81: exiting, bye-bye!
Jun 07 09:23:43.243607 fpm_unix_init_main(), line 284: getrlimit(nofile): max:1024, cur:1024
Jun 07 09:23:43.259183 fpm_event_init_main(), line 88: libevent: using epoll
Jun 07 09:23:43.259275 fpm_init(), line 52: fpm is running, pid 2735
Jun 07 09:23:43.260277 fpm_children_make(), line 352: child 2736 (pool default) started
Jun 07 09:23:43.261425 fpm_children_make(), line 352: child 2737 (pool default) started
Jun 07 09:23:43.262552 fpm_children_make(), line 352: child 2738 (pool default) started
Jun 07 09:23:43.263628 fpm_children_make(), line 352: child 2739 (pool default) started
Jun 07 09:23:43.264262 fpm_children_make(), line 352: child 2740 (pool default) started
Jun 07 09:23:43.264298 fpm_event_loop(), line 107: libevent: entering main loop 看日期前半部分有程序长时间运行把php-fpm拖死了 首先感谢军哥百忙之中的回复,我继续贴出出现问题前到现在的日志,麻烦军哥分析下是什么程序把php拖死了?如何解决这个问题?我重启服务器N次了,依然不能解决,最坏打算,我现在用的是lnmp0.7 删除后安装1.0 是否可以解决此问题?请军哥明示,日志如下,大概是昨天晚上10点左右开始出现问题的
received SIGCHLD
Jun 06 18:22:02.918064 fpm_children_bury(), line 215: child 29719 (pool default) exited with code 0 after 5198.125109 seconds from start
Jun 06 18:22:02.919622 fpm_children_make(), line 352: child 637 (pool default) started
Jun 06 18:37:07.639281 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 18:37:07.639337 fpm_children_bury(), line 215: child 30801 (pool default) exited with code 0 after 5276.545155 seconds from start
Jun 06 18:37:07.640718 fpm_children_make(), line 352: child 1007 (pool default) started
Jun 06 18:41:57.748442 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 18:41:57.748498 fpm_children_bury(), line 215: child 31032 (pool default) exited with code 0 after 5197.273233 seconds from start
Jun 06 18:41:57.749680 fpm_children_make(), line 352: child 1143 (pool default) started
Jun 06 19:02:43.923944 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 19:02:43.924001 fpm_children_bury(), line 215: child 31651 (pool default) exited with code 0 after 5481.557937 seconds from start
Jun 06 19:02:43.925331 fpm_children_make(), line 352: child 2077 (pool default) started
Jun 06 19:37:35.859738 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 19:37:35.859793 fpm_children_bury(), line 215: child 32716 (pool default) exited with code 0 after 5675.097727 seconds from start
Jun 06 19:37:35.861031 fpm_children_make(), line 352: child 3425 (pool default) started
Jun 06 19:53:38.049424 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 19:53:38.049486 fpm_children_bury(), line 215: child 637 (pool default) exited with code 0 after 5495.129879 seconds from start
Jun 06 19:53:38.050753 fpm_children_make(), line 352: child 4114 (pool default) started
Jun 06 20:07:01.305633 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 20:07:01.305699 fpm_children_bury(), line 215: child 1007 (pool default) exited with code 0 after 5393.664993 seconds from start
Jun 06 20:07:01.306428 fpm_children_make(), line 352: child 4744 (pool default) started
Jun 06 20:13:31.806636 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 20:13:31.806685 fpm_children_bury(), line 215: child 1143 (pool default) exited with code 0 after 5494.057018 seconds from start
Jun 06 20:13:31.807968 fpm_children_make(), line 352: child 4949 (pool default) started
Jun 06 20:29:28.967274 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 20:29:28.967340 fpm_children_bury(), line 215: child 2077 (pool default) exited with code 0 after 5205.042021 seconds from start
Jun 06 20:29:28.968862 fpm_children_make(), line 352: child 5753 (pool default) started
Jun 06 20:55:53.213056 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 20:55:53.213106 fpm_children_bury(), line 215: child 3425 (pool default) exited with code 0 after 4697.352088 seconds from start
Jun 06 20:55:53.214536 fpm_children_make(), line 352: child 7101 (pool default) started
Jun 06 21:12:04.546198 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 21:12:04.546255 fpm_children_bury(), line 215: child 4114 (pool default) exited with code 0 after 4706.495515 seconds from start
Jun 06 21:12:04.547165 fpm_children_make(), line 352: child 7873 (pool default) started
Jun 06 21:18:44.234450 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 21:18:44.234498 fpm_children_bury(), line 215: child 4744 (pool default) exited with code 0 after 4302.928083 seconds from start
Jun 06 21:18:44.235227 fpm_children_make(), line 352: child 8272 (pool default) started
Jun 06 21:26:54.355561 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 21:26:54.355616 fpm_children_bury(), line 215: child 4949 (pool default) exited with code 0 after 4402.547662 seconds from start
Jun 06 21:26:54.356967 fpm_children_make(), line 352: child 8613 (pool default) started
Jun 06 21:42:19.435751 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 21:42:19.435804 fpm_children_bury(), line 215: child 5753 (pool default) exited with code 0 after 4370.466957 seconds from start
Jun 06 21:42:19.439238 fpm_children_make(), line 352: child 9324 (pool default) started
Jun 06 22:02:30.473891 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 22:02:30.473958 fpm_children_bury(), line 215: child 7101 (pool default) exited with code 0 after 3997.259433 seconds from start
Jun 06 22:02:30.475660 fpm_children_make(), line 352: child 10462 (pool default) started
Jun 06 22:19:57.246286 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 22:19:57.246361 fpm_children_bury(), line 215: child 7873 (pool default) exited with code 0 after 4072.699210 seconds from start
Jun 06 22:19:57.251260 fpm_children_make(), line 352: child 11266 (pool default) started
Jun 06 22:23:19.147338 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 22:23:19.147409 fpm_children_bury(), line 215: child 8272 (pool default) exited with code 0 after 3874.912198 seconds from start
Jun 06 22:23:19.148715 fpm_children_make(), line 352: child 11427 (pool default) started
Jun 06 22:31:22.745872 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 22:31:22.745935 fpm_children_bury(), line 215: child 8613 (pool default) exited with code 0 after 3868.388982 seconds from start
Jun 06 22:31:22.747096 fpm_children_make(), line 352: child 11814 (pool default) started
Jun 06 22:45:17.317090 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 22:45:17.317146 fpm_children_bury(), line 215: child 9324 (pool default) exited with code 0 after 3777.877927 seconds from start
Jun 06 22:45:17.318823 fpm_children_make(), line 352: child 12414 (pool default) started
Jun 06 23:00:58.874456 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 23:00:58.874535 fpm_children_bury(), line 215: child 10462 (pool default) exited with code 0 after 3508.398890 seconds from start
Jun 06 23:00:58.876132 fpm_children_make(), line 352: child 13212 (pool default) started
Jun 06 23:13:26.785451 fpm_got_signal(), line 48: received SIGCHLD
Jun 06 23:13:26.785513 fpm_children_bury(), line 215: child 11266 (pool default) exited with code 0 after 3209.534281 seconds from start
Jun 06 23:13:26.787978 fpm_children_make(), line 352: child 13757 (pool default) started
[ 本帖最后由 张小凡 于 2013-6-7 16:45 编辑 ] Jun 07 04:11:57.797804 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 04:11:57.797863 fpm_children_bury(), line 215: child 11427 (pool default) exited with code 0 after 20918.649160 seconds from start
Jun 07 04:11:57.799772 fpm_children_make(), line 352: child 15324 (pool default) started
Jun 07 05:06:19.951793 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 05:06:19.951883 fpm_children_bury(), line 215: child 11814 (pool default) exited with code 0 after 23697.204800 seconds from start
Jun 07 05:06:19.967509 fpm_children_make(), line 352: child 16419 (pool default) started
Jun 07 06:35:28.452284 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 06:35:28.452359 fpm_children_bury(), line 215: child 12414 (pool default) exited with code 0 after 28211.133551 seconds from start
Jun 07 06:35:28.454507 fpm_children_make(), line 352: child 17285 (pool default) started
Jun 07 08:24:52.194998 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 08:24:52.195080 fpm_children_bury(), line 215: child 13212 (pool default) exited with code 0 after 33833.318961 seconds from start
Jun 07 08:24:52.204972 fpm_children_make(), line 352: child 18978 (pool default) started
Jun 07 09:19:06.868847 fpm_got_signal(), line 56: received SIGTERM
Jun 07 09:19:06.868939 fpm_pctl(), line 256: switching to 'terminating' state
Jun 07 09:19:06.868984 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 18978 (pool default)
Jun 07 09:19:06.868994 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 17285 (pool default)
Jun 07 09:19:06.869003 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 16419 (pool default)
Jun 07 09:19:06.869012 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 15324 (pool default)
Jun 07 09:19:06.869020 fpm_pctl_kill_all(), line 172: sending signal 15 SIGTERM to child 13757 (pool default)
Jun 07 09:19:06.869028 fpm_pctl_kill_all(), line 181: 5 children are still alive
Jun 07 09:19:06.869039 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.871163 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.871242 fpm_children_bury(), line 215: child 16419 (pool default) exited on signal 15 SIGTERM after 15166.903753 seconds from start
Jun 07 09:19:06.871309 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.871340 fpm_children_bury(), line 215: child 18978 (pool default) exited on signal 15 SIGTERM after 3254.666386 seconds from start
Jun 07 09:19:06.872699 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.872767 fpm_children_bury(), line 215: child 17285 (pool default) exited on signal 15 SIGTERM after 9818.418278 seconds from start
Jun 07 09:19:06.873861 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.873917 fpm_children_bury(), line 215: child 13757 (pool default) exited on signal 15 SIGTERM after 36340.085956 seconds from start
Jun 07 09:19:06.874227 fpm_got_signal(), line 48: received SIGCHLD
Jun 07 09:19:06.874258 fpm_children_bury(), line 215: child 15324 (pool default) exited on signal 15 SIGTERM after 18429.074504 seconds from start
Jun 07 09:19:06.874268 fpm_pctl_exit(), line 81: exiting, bye-bye!
Jun 07 09:23:43.243607 fpm_unix_init_main(), line 284: getrlimit(nofile): max:1024, cur:1024
Jun 07 09:23:43.259183 fpm_event_init_main(), line 88: libevent: using epoll
Jun 07 09:23:43.259275 fpm_init(), line 52: fpm is running, pid 2735
Jun 07 09:23:43.260277 fpm_children_make(), line 352: child 2736 (pool default) started
Jun 07 09:23:43.261425 fpm_children_make(), line 352: child 2737 (pool default) started
Jun 07 09:23:43.262552 fpm_children_make(), line 352: child 2738 (pool default) started
Jun 07 09:23:43.263628 fpm_children_make(), line 352: child 2739 (pool default) started
Jun 07 09:23:43.264262 fpm_children_make(), line 352: child 2740 (pool default) started
Jun 07 09:23:43.264298 fpm_event_loop(), line 107: libevent: entering main loop 日志没法看出是哪个文件,必须用strace跟踪才行
升到1.0 应该还会一样 那个strace跟踪不会用,看了半天百度也没看懂,请问军哥,重装系统后重新安装lnmp 1.0 是否能解决问题呢? ps aux看占用高的php-fpm的pid
strace -o mystracelog.txt -p pid
这种问题重装不一定有效果 结果如下:
# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 10.00.010368 680 ? Ss Jun07 0:00 init
root 20.00.0 0 0 ? S< Jun07 0:00
root 30.00.0 0 0 ? SN Jun07 0:00
root 40.00.0 0 0 ? S< Jun07 0:00
root 50.00.0 0 0 ? S< Jun07 0:00
root 60.00.0 0 0 ? SN Jun07 0:00
root 70.00.0 0 0 ? S< Jun07 0:00
root 80.00.0 0 0 ? S< Jun07 0:00
root 90.00.0 0 0 ? SN Jun07 0:00
root 100.00.0 0 0 ? S< Jun07 0:00
root 110.00.0 0 0 ? S< Jun07 0:00
root 120.00.0 0 0 ? SN Jun07 0:00
root 130.00.0 0 0 ? S< Jun07 0:00
root 140.00.0 0 0 ? S< Jun07 0:00
root 150.00.0 0 0 ? S< Jun07 0:00
root 160.00.0 0 0 ? S< Jun07 0:00
root 170.00.0 0 0 ? S< Jun07 0:00
root 180.00.0 0 0 ? S< Jun07 0:00
root 550.00.0 0 0 ? S< Jun07 0:00
root 620.00.0 0 0 ? S< Jun07 0:00
root 630.00.0 0 0 ? S< Jun07 0:00
root 640.00.0 0 0 ? S< Jun07 0:00
root 650.00.0 0 0 ? S< Jun07 0:00
root 660.00.0 0 0 ? S< Jun07 0:00
root 1680.00.0 0 0 ? S< Jun07 0:00
root 1690.00.0 0 0 ? S< Jun07 0:00
root 1700.00.0 0 0 ? S< Jun07 0:00
root 1710.00.0 0 0 ? S< Jun07 0:00
root 1740.00.0 0 0 ? S< Jun07 0:00
root 1760.00.0 0 0 ? S< Jun07 0:00
root 2640.00.0 0 0 ? S Jun07 0:00
root 2650.00.0 0 0 ? S Jun07 0:00
root 2660.00.0 0 0 ? S Jun07 0:00
root 2670.00.0 0 0 ? S< Jun07 0:03
root 2680.00.0 0 0 ? S< Jun07 0:00
root 2690.00.0 0 0 ? S< Jun07 0:00
root 2700.00.0 0 0 ? S< Jun07 0:00 root 2710.00.0 0 0 ? S< Jun07 0:00
root 4170.00.0 0 0 ? S< Jun07 0:00
root 4620.00.0 0 0 ? S< Jun07 0:00
root 4630.00.0 0 0 ? S< Jun07 0:00
root 4640.00.0 0 0 ? S< Jun07 0:00
root 4650.00.0 0 0 ? S< Jun07 0:00
root 4660.00.0 0 0 ? S< Jun07 0:00
root 4720.00.0 0 0 ? S< Jun07 0:00
root 4730.00.0 0 0 ? S< Jun07 0:00
root 4790.00.0 0 0 ? S< Jun07 0:00
root 5000.00.0 0 0 ? S< Jun07 0:00
root 5230.00.0 0 0 ? S< Jun07 0:04
root 5480.00.0 0 0 ? S< Jun07 0:00
root 5810.00.012712 792 ? S<sJun07 0:00 /sbin/udevd -d
root 12800.00.0 0 0 ? S< Jun07 0:00
root 16350.00.0 0 0 ? S< Jun07 0:00
root 16360.00.0 0 0 ? S< Jun07 0:00
root 16370.00.0 0 0 ? S< Jun07 0:00
root 16380.00.0 0 0 ? S< Jun07 0:00
root 16390.00.0 0 0 ? S< Jun07 0:00
root 16990.00.0 0 0 ? S< Jun07 0:00
root 18540.00.0 0 0 ? S< Jun07 0:00
root 19150.00.0 0 0 ? S< Jun07 0:00
root 19390.00.0 0 0 ? S< Jun07 0:00
root 19560.00.0 0 0 ? S< Jun07 0:00
root 19570.00.0 0 0 ? S< Jun07 0:00
root 19580.00.0 0 0 ? S< Jun07 0:00
root 19630.00.0 0 0 ? S< Jun07 0:00
root 19690.00.0 0 0 ? S< Jun07 0:00
root 19700.00.0 0 0 ? S< Jun07 0:00
root 19710.00.0 0 0 ? S< Jun07 0:00
root 19720.00.0 0 0 ? S< Jun07 0:00
root 19780.00.0 0 0 ? S< Jun07 0:00
root 20000.00.038880 452 ? SslJun07 0:00 brcm_iscsiuio
root 20060.00.012152 480 ? Ss Jun07 0:00 iscsid
root 20070.00.1126484460 ? S<Ls Jun07 0:00 iscsid
root 22740.00.027344 816 ? S<sl Jun07 0:00 auditd
root 22760.00.016284 764 ? S<sl Jun07 0:00 /sbin/audispd
root 23070.00.0 5928 608 ? Ss Jun07 0:00 syslogd -m 0
root 23100.00.0 3824 424 ? Ss Jun07 0:00 klogd -x
root 23600.00.0 0 0 ? S< Jun07 0:00
root 23610.00.0 0 0 ? S< Jun07 0:00
root 23620.00.0 0 0 ? S< Jun07 0:00
root 23640.00.0 0 0 ? S< Jun07 0:00
root 23830.00.010780 368 ? Ss Jun07 0:00 irqbalance
rpc 24140.00.0 8072 608 ? Ss Jun07 0:00 portmap
root 24510.00.0 0 0 ? S< Jun07 0:00
root 24520.00.0 0 0 ? S< Jun07 0:00
root 24530.00.0 0 0 ? S< Jun07 0:00
root 24540.00.0 0 0 ? S< Jun07 0:00
rpcuser 24630.00.010180 796 ? Ss Jun07 0:00 rpc.statd
root 24990.00.055204 772 ? Ss Jun07 0:00 rpc.idmapd
dbus 25220.00.0213761004 ? Ss Jun07 0:00 dbus-daemon --s
root 25350.00.010452 784 ? Ss Jun07 0:00 /usr/sbin/hcid
root 25410.00.0 5956 544 ? Ss Jun07 0:00 /usr/sbin/sdpd
root 25710.00.0 0 0 ? S< Jun07 0:00
root 26160.00.0211921348 ? SslJun07 0:00 pcscd
root 26300.00.0 3820 572 ? Ss Jun07 0:00 /usr/sbin/acpid
68 26430.00.1310564108 ? Ss Jun07 0:00 hald
root 26440.00.0217161032 ? S Jun07 0:00 hald-runner
68 26520.00.012344 868 ? S Jun07 0:00 hald-addon-acpi
root 26810.00.0 8536 496 ? Ss Jun07 0:00 /usr/bin/hidd -
root 27210.00.0544281508 ? SslJun07 0:00 automount
root 27390.00.1 1480085052 ? Ss Jun07 0:00 /usr/local/php/
www 27400.50.3 152904 13036 ? S Jun07 6:14 /usr/local/php/
www 27410.50.3 154676 14392 ? S Jun07 6:18 /usr/local/php/
www 27420.50.3 153388 13380 ? S Jun07 6:20 /usr/local/php/
www 27430.50.3 152392 12360 ? S Jun07 6:17 /usr/local/php/
www 27440.50.3 157140 15180 ? S Jun07 6:12 /usr/local/php/
www 27450.50.3 155972 14156 ? S Jun07 6:16 /usr/local/php/
www 27460.50.3 153648 13648 ? S Jun07 6:17 /usr/local/php/
www 27470.50.3 156508 14688 ? S Jun07 6:14 /usr/local/php/
www 27480.50.3 156744 14976 ? S Jun07 6:19 /usr/local/php/
www 27490.50.4 158448 18328 ? S Jun07 6:17 /usr/local/php/
www 27500.50.3 156252 14316 ? S Jun07 6:18 /usr/local/php/
www 27510.50.3 154700 14284 ? S Jun07 6:16 /usr/local/php/
www 27520.50.3 156248 14480 ? S Jun07 6:20 /usr/local/php/
www 27530.50.3 154712 14588 ? S Jun07 6:19 /usr/local/php/
www 27560.50.4 157212 17240 ? S Jun07 6:14 /usr/local/php/
root 27710.00.0626561216 ? Ss Jun07 0:00 /usr/sbin/sshd
root 27890.00.021664 900 ? Ss Jun07 0:00 xinetd -stayali
root 29370.00.0669642316 ? Ss Jun07 0:00 sendmail: accep
smmsp 29470.00.0577201768 ? Ss Jun07 0:00 sendmail: Queue
root 29610.00.0 6476 372 ? Ss Jun07 0:00 gpm -m /dev/inp
root 29740.00.0757521160 ? Ss Jun07 0:00 crond
xfs 30030.00.0202441080 ? Ss Jun07 0:00 xfs -droppriv -
root 30280.00.018752 444 ? Ss Jun07 0:00 /usr/sbin/atd
avahi 30540.00.0231681292 ? Ss Jun07 0:00 avahi-daemon: r
avahi 30550.00.023168 336 ? Ss Jun07 0:00 avahi-daemon: c
root 30820.00.078768 628 ? Ss Jun07 0:00 pure-ftpd (SERV
root 31160.00.020528 624 ? S Jun07 0:00 /usr/sbin/smart
root 31200.00.0 3812 488 tty1 Ss+Jun07 0:00 /sbin/mingetty
root 31210.00.0 3812 484 tty2 Ss+Jun07 0:00 /sbin/mingetty
root 31220.00.0 3812 488 tty3 Ss+Jun07 0:00 /sbin/mingetty
root 31230.00.0 3812 484 tty4 Ss+Jun07 0:00 /sbin/mingetty
root 31240.00.0 3812 488 tty5 Ss+Jun07 0:00 /sbin/mingetty
root 31260.00.0 3812 488 tty6 Ss+Jun07 0:00 /sbin/mingetty
root 31850.00.4 258584 17568 ? SN Jun07 0:01 /usr/bin/python
root 31880.00.0129361184 ? SN Jun07 0:00 /usr/libexec/ga
root 88760.00.0410281032 ? Ss Jun07 0:00 nginx: master p
www 88770.20.979724 40064 ? S Jun07 1:58 nginx: worker p
root 88861.20.1917244988 ? Ss Jun07 9:50 sshd: root@pts/
root 88900.10.0553723580 ? Ss Jun07 1:23 /usr/libexec/op
root 113530.00.0661121532 pts/0 Ss 08:59 0:00 -bash
root 115000.00.065644 992 pts/0 R+ 09:43 0:00 ps aux
#
好像每个PHP-fpm占用CPU都一样,我该追踪哪个呢? 观测一会儿看看那个pid的大就跟踪那个,或先随便跟踪一个 如果你装的是论坛,先重启一下lnmp,TOP看一下mysql占用率。如果特别高。可能是cc攻击。
页:
[1]