老问题浮现,请求支援

小阳光

老问题如下
https://wenda.workerman.net/question/6111

ps auxf 发现进程还存在

截图

strace -ttp 8764
root@hecs-x-xlarge-2-linux-20200821114232:~# strace -ttp 8764
strace: Process 8764 attached
10:08:04.904878 wait4(-1, 0x7ffe68ccf784, WSTOPPED, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10:08:04.996259 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
10:08:04.996332 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
10:08:04.996418 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
10:08:04.996478 alarm(1) = 0
10:08:04.996528 kill(19400, SIG_0) = 0
10:08:04.996569 kill(19403, SIG_0) = 0
10:08:04.996618 kill(19406, SIG_0) = 0
10:08:04.996660 kill(19409, SIG_0) = 0
10:08:04.996709 kill(19410, SIG_0) = 0
10:08:04.996750 kill(19411, SIG_0) = 0
10:08:04.996789 kill(19413, SIG_0) = 0
10:08:04.996828 kill(19417, SIG_0) = 0
10:08:04.996875 kill(19400, SIG_0) = 0
10:08:04.996913 kill(19403, SIG_0) = 0
10:08:04.996951 kill(19406, SIG_0) = 0
10:08:04.996990 kill(19409, SIG_0) = 0
10:08:04.997028 kill(19410, SIG_0) = 0
10:08:04.997066 kill(19411, SIG_0) = 0
10:08:04.997105 kill(19413, SIG_0) = 0
10:08:04.997143 kill(19417, SIG_0) = 0
10:08:04.997185 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10:08:04.997230 wait4(-1, 0x7ffe68ccf784, WSTOPPED, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10:08:05.799172 --- SIGUSR2 {si_signo=SIGUSR2, si_code=SI_USER, si_pid=20030, si_uid=0} ---
10:08:05.799222 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
10:08:05.799279 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
10:08:05.799356 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.799437 fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
10:08:05.799492 lseek(4, 0, SEEK_CUR) = 0
10:08:05.799527 lseek(4, 0, SEEK_CUR) = 0
10:08:05.799562 write(4, "a:8:{i:19400;a:2:{s:4:\"name\";s:6"..., 631) = 631
10:08:05.799634 close(4) = 0
10:08:05.799672 open("/proc/loadavg", O_RDONLY) = 4
10:08:05.799716 read(4, "0.18 0.09 0.05 2/766 1070\n", 64) = 26
10:08:05.799760 close(4) = 0
10:08:05.799805 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.799842 fstat(4, {st_mode=S_IFREG|0644, st_size=631, ...}) = 0
10:08:05.799878 lseek(4, 0, SEEK_CUR) = 0
10:08:05.799912 lseek(4, 0, SEEK_CUR) = 0
10:08:05.799946 write(4, "--------------------------------"..., 112) = 112
10:08:05.799983 close(4) = 0
10:08:05.800018 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.800054 fstat(4, {st_mode=S_IFREG|0644, st_size=743, ...}) = 0
10:08:05.800088 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800121 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800155 write(4, "Workerman version:4.0.17 "..., 53) = 53
10:08:05.800193 close(4) = 0
10:08:05.800248 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.800285 fstat(4, {st_mode=S_IFREG|0644, st_size=796, ...}) = 0
10:08:05.800320 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800354 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800390 write(4, "start time:2021-02-26 16:03:53 "..., 56) = 56
10:08:05.800428 close(4) = 0
10:08:05.800467 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.800503 fstat(4, {st_mode=S_IFREG|0644, st_size=852, ...}) = 0
10:08:05.800537 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800570 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800603 write(4, "load average: 0.18, 0, 0 "..., 68) = 68
10:08:05.800647 close(4) = 0
10:08:05.800688 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.800730 fstat(4, {st_mode=S_IFREG|0644, st_size=920, ...}) = 0
10:08:05.800772 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800806 lseek(4, 0, SEEK_CUR) = 0
10:08:05.800840 write(4, "9 workers 8 processes\n", 28) = 28
10:08:05.800876 close(4) = 0
10:08:05.800911 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.800947 fstat(4, {st_mode=S_IFREG|0644, st_size=948, ...}) = 0
10:08:05.800981 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801015 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801048 write(4, "worker_name exit_statu"..., 50) = 50
10:08:05.801084 close(4) = 0
10:08:05.801123 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.801171 fstat(4, {st_mode=S_IFREG|0644, st_size=998, ...}) = 0
10:08:05.801210 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801251 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801287 write(4, "webman 0 "..., 42) = 42
10:08:05.801327 close(4) = 0
10:08:05.801376 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.801416 fstat(4, {st_mode=S_IFREG|0644, st_size=1040, ...}) = 0
10:08:05.801452 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801485 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801518 write(4, "Monitor 0 "..., 41) = 41
10:08:05.801554 close(4) = 0
10:08:05.801591 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.801637 fstat(4, {st_mode=S_IFREG|0644, st_size=1081, ...}) = 0
10:08:05.801672 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801705 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801745 write(4, "RabbitMqConsumer 0 "..., 42) = 42
10:08:05.801782 close(4) = 0
10:08:05.801818 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.801855 fstat(4, {st_mode=S_IFREG|0644, st_size=1123, ...}) = 0
10:08:05.801890 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801936 lseek(4, 0, SEEK_CUR) = 0
10:08:05.801969 write(4, "Proxy 0 "..., 41) = 41
10:08:05.802004 close(4) = 0
10:08:05.802044 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.802080 fstat(4, {st_mode=S_IFREG|0644, st_size=1164, ...}) = 0
10:08:05.802116 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802150 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802183 write(4, "Synchronization 0 "..., 41) = 41
10:08:05.802221 close(4) = 0
10:08:05.802261 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.802297 fstat(4, {st_mode=S_IFREG|0644, st_size=1205, ...}) = 0
10:08:05.802332 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802365 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802399 write(4, "Statistics 0 "..., 41) = 41
10:08:05.802434 close(4) = 0
10:08:05.802469 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.802505 fstat(4, {st_mode=S_IFREG|0644, st_size=1246, ...}) = 0
10:08:05.802540 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802573 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802606 write(4, "ShopStatistics 0 "..., 41) = 41
10:08:05.802649 close(4) = 0
10:08:05.802686 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.802727 fstat(4, {st_mode=S_IFREG|0644, st_size=1287, ...}) = 0
10:08:05.802763 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802796 lseek(4, 0, SEEK_CUR) = 0
10:08:05.802829 write(4, "CheckProductExtension 0 "..., 41) = 41
10:08:05.802865 close(4) = 0
10:08:05.802900 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.802935 fstat(4, {st_mode=S_IFREG|0644, st_size=1328, ...}) = 0
10:08:05.802970 lseek(4, 0, SEEK_CUR) = 0
10:08:05.803003 lseek(4, 0, SEEK_CUR) = 0
10:08:05.803036 write(4, "ContentChecking 0 "..., 41) = 41
10:08:05.803080 close(4) = 0
10:08:05.803112 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.803150 fstat(4, {st_mode=S_IFREG|0644, st_size=1369, ...}) = 0
10:08:05.803190 lseek(4, 0, SEEK_CUR) = 0
10:08:05.803231 lseek(4, 0, SEEK_CUR) = 0
10:08:05.803267 write(4, "--------------------------------"..., 112) = 112
10:08:05.803307 close(4) = 0
10:08:05.803347 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:05.803387 fstat(4, {st_mode=S_IFREG|0644, st_size=1481, ...}) = 0
10:08:05.803425 lseek(4, 0, SEEK_CUR) = 0
10:08:05.803460 lseek(4, 0, SEEK_CUR) = 0
10:08:05.803496 write(4, "pid\tmemory listening "..., 112) = 112
10:08:05.803532 close(4) = 0
10:08:05.803571 chmod("/tmp/_www_DjApi_start.php.status", 0722) = 0
10:08:05.803621 kill(19400, SIGUSR2) = 0
10:08:05.803669 kill(19403, SIGUSR2) = 0
10:08:05.803765 kill(19406, SIGUSR2) = 0
10:08:05.803818 kill(19409, SIGUSR2) = 0
10:08:05.803928 kill(19410, SIGUSR2) = 0
10:08:05.803968 kill(19411, SIGUSR2) = 0
10:08:05.804033 kill(19413, SIGUSR2) = 0
10:08:05.804072 kill(19417, SIGUSR2) = 0
10:08:05.804138 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10:08:05.804188 wait4(-1, 0x7ffe68ccf784, WSTOPPED, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10:08:05.996573 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
10:08:05.996636 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
10:08:05.996692 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
10:08:05.996746 alarm(1) = 0
10:08:05.996794 kill(19400, SIG_0) = 0
10:08:05.996833 kill(19403, SIG_0) = 0
10:08:05.996867 kill(19406, SIG_0) = 0
10:08:05.996909 kill(19409, SIG_0) = 0
10:08:05.996942 kill(19410, SIG_0) = 0
10:08:05.996972 kill(19411, SIG_0) = 0
10:08:05.997006 kill(19413, SIG_0) = 0
10:08:05.997039 kill(19417, SIG_0) = 0
10:08:05.997090 kill(19400, SIG_0) = 0
10:08:05.997134 kill(19403, SIG_0) = 0
10:08:05.997167 kill(19406, SIG_0) = 0
10:08:05.997204 kill(19409, SIG_0) = 0
10:08:05.997245 kill(19410, SIG_0) = 0
10:08:05.997281 kill(19411, SIG_0) = 0
10:08:05.997317 kill(19413, SIG_0) = 0
10:08:05.997350 kill(19417, SIG_0) = 0
10:08:05.997395 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10:08:05.997439 wait4(-1, 0x7ffe68ccf784, WSTOPPED, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10:08:06.799515 --- SIGUSR2 {si_signo=SIGUSR2, si_code=SI_USER, si_pid=20030, si_uid=0} ---
10:08:06.799557 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
10:08:06.799617 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
10:08:06.799695 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.799779 fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
10:08:06.799838 lseek(4, 0, SEEK_CUR) = 0
10:08:06.799875 lseek(4, 0, SEEK_CUR) = 0
10:08:06.799909 write(4, "a:8:{i:19400;a:2:{s:4:\"name\";s:6"..., 631) = 631
10:08:06.799959 close(4) = 0
10:08:06.799999 open("/proc/loadavg", O_RDONLY) = 4
10:08:06.800045 read(4, "0.18 0.09 0.05 2/764 1131\n", 64) = 26
10:08:06.800083 close(4) = 0
10:08:06.800127 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.800176 fstat(4, {st_mode=S_IFREG|0644, st_size=631, ...}) = 0
10:08:06.800215 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800253 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800290 write(4, "--------------------------------"..., 112) = 112
10:08:06.800336 close(4) = 0
10:08:06.800379 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.800415 fstat(4, {st_mode=S_IFREG|0644, st_size=743, ...}) = 0
10:08:06.800450 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800488 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800525 write(4, "Workerman version:4.0.17 "..., 53) = 53
10:08:06.800562 close(4) = 0
10:08:06.800613 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.800659 fstat(4, {st_mode=S_IFREG|0644, st_size=796, ...}) = 0
10:08:06.800695 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800729 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800766 write(4, "start time:2021-02-26 16:03:53 "..., 56) = 56
10:08:06.800805 close(4) = 0
10:08:06.800846 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.800882 fstat(4, {st_mode=S_IFREG|0644, st_size=852, ...}) = 0
10:08:06.800917 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800951 lseek(4, 0, SEEK_CUR) = 0
10:08:06.800991 write(4, "load average: 0.18, 0, 0 "..., 68) = 68
10:08:06.801029 close(4) = 0
10:08:06.801068 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.801104 fstat(4, {st_mode=S_IFREG|0644, st_size=920, ...}) = 0
10:08:06.801139 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801173 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801207 write(4, "9 workers 8 processes\n", 28) = 28
10:08:06.801243 close(4) = 0
10:08:06.801278 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.801314 fstat(4, {st_mode=S_IFREG|0644, st_size=948, ...}) = 0
10:08:06.801351 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801387 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801421 write(4, "worker_name exit_statu"..., 50) = 50
10:08:06.801460 close(4) = 0
10:08:06.801504 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.801541 fstat(4, {st_mode=S_IFREG|0644, st_size=998, ...}) = 0
10:08:06.801577 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801610 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801651 write(4, "webman 0 "..., 42) = 42
10:08:06.801687 close(4) = 0
10:08:06.801723 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.801760 fstat(4, {st_mode=S_IFREG|0644, st_size=1040, ...}) = 0
10:08:06.801795 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801829 lseek(4, 0, SEEK_CUR) = 0
10:08:06.801863 write(4, "Monitor 0 "..., 41) = 41
10:08:06.801898 close(4) = 0
10:08:06.801934 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.801975 fstat(4, {st_mode=S_IFREG|0644, st_size=1081, ...}) = 0
10:08:06.802011 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802044 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802078 write(4, "RabbitMqConsumer 0 "..., 42) = 42
10:08:06.802113 close(4) = 0
10:08:06.802149 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.802185 fstat(4, {st_mode=S_IFREG|0644, st_size=1123, ...}) = 0
10:08:06.802220 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802253 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802287 write(4, "Proxy 0 "..., 41) = 41
10:08:06.802322 close(4) = 0
10:08:06.802357 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.802393 fstat(4, {st_mode=S_IFREG|0644, st_size=1164, ...}) = 0
10:08:06.802430 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802469 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802504 write(4, "Synchronization 0 "..., 41) = 41
10:08:06.802540 close(4) = 0
10:08:06.802575 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.802616 fstat(4, {st_mode=S_IFREG|0644, st_size=1205, ...}) = 0
10:08:06.802661 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802695 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802729 write(4, "Statistics 0 "..., 41) = 41
10:08:06.802767 close(4) = 0
10:08:06.802808 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.802845 fstat(4, {st_mode=S_IFREG|0644, st_size=1246, ...}) = 0
10:08:06.802880 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802915 lseek(4, 0, SEEK_CUR) = 0
10:08:06.802953 write(4, "ShopStatistics 0 "..., 41) = 41
10:08:06.802990 close(4) = 0
10:08:06.803026 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.803074 fstat(4, {st_mode=S_IFREG|0644, st_size=1287, ...}) = 0
10:08:06.803110 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803143 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803177 write(4, "CheckProductExtension 0 "..., 41) = 41
10:08:06.803216 close(4) = 0
10:08:06.803252 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.803288 fstat(4, {st_mode=S_IFREG|0644, st_size=1328, ...}) = 0
10:08:06.803324 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803358 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803391 write(4, "ContentChecking 0 "..., 41) = 41
10:08:06.803433 close(4) = 0
10:08:06.803469 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.803505 fstat(4, {st_mode=S_IFREG|0644, st_size=1369, ...}) = 0
10:08:06.803542 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803575 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803609 write(4, "--------------------------------"..., 112) = 112
10:08:06.803652 close(4) = 0
10:08:06.803689 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:06.803726 fstat(4, {st_mode=S_IFREG|0644, st_size=1481, ...}) = 0
10:08:06.803761 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803794 lseek(4, 0, SEEK_CUR) = 0
10:08:06.803826 write(4, "pid\tmemory listening "..., 112) = 112
10:08:06.803862 close(4) = 0
10:08:06.803900 chmod("/tmp/_www_DjApi_start.php.status", 0722) = 0
10:08:06.803946 kill(19400, SIGUSR2) = 0
10:08:06.803989 kill(19403, SIGUSR2) = 0
10:08:06.804082 kill(19406, SIGUSR2) = 0
10:08:06.804127 kill(19409, SIGUSR2) = 0
10:08:06.804237 kill(19410, SIGUSR2) = 0
10:08:06.804279 kill(19411, SIGUSR2) = 0
10:08:06.804346 kill(19413, SIGUSR2) = 0
10:08:06.804389 kill(19417, SIGUSR2) = 0
10:08:06.804437 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10:08:06.804493 wait4(-1, ^C0x7ffe68ccf784, WSTOPPED, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10:08:06.996837 --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---
10:08:06.996881 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
10:08:06.996930 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
10:08:06.996979 alarm(1) = 0
10:08:06.997024 kill(19400, SIG_0) = 0
10:08:06.997060 kill(19403, SIG_0) = 0
10:08:06.997094 kill(19406, SIG_0) = 0
10:08:06.997127 kill(19409, SIG_0) = 0
10:08:06.997161 kill(19410, SIG_0) = 0
10:08:06.997194 kill(19411, SIG_0) = 0
10:08:06.997228 kill(19413, SIG_0) = 0
10:08:06.997261 kill(19417, SIG_0) = 0
10:08:06.997303 kill(19400, SIG_0) = 0
10:08:06.997336 kill(19403, SIG_0) = 0
10:08:06.997369 kill(19406, SIG_0) = 0
10:08:06.997402 kill(19409, SIG_0) = 0
10:08:06.997435 kill(19410, SIG_0) = 0
10:08:06.997468 kill(19411, SIG_0) = 0
10:08:06.997501 kill(19413, SIG_0) = 0
10:08:06.997533 kill(19417, SIG_0) = 0
10:08:06.997570 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10:08:06.997610 wait4(-1, 0x7ffe68ccf784, WSTOPPED, NULL) = ? ERESTARTSYS (To be restarted if SA_RESTART is set)
10:08:07.799845 --- SIGUSR2 {si_signo=SIGUSR2, si_code=SI_USER, si_pid=20030, si_uid=0} ---
10:08:07.799886 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call)
10:08:07.799935 rt_sigprocmask(SIG_BLOCK, ~[RTMIN RT_1], [], 8) = 0
10:08:07.800015 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.800076 fstat(4, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
10:08:07.800115 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800152 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800190 write(4, "a:8:{i:19400;a:2:{s:4:\"name\";s:6"..., 631) = 631
10:08:07.800239 close(4) = 0
10:08:07.800277 open("/proc/loadavg", O_RDONLY) = 4
10:08:07.800316 read(4, "0.18 0.09 0.05 2/766 1178\n", 64) = 26
10:08:07.800352 close(4) = 0
10:08:07.800395 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.800432 fstat(4, {st_mode=S_IFREG|0644, st_size=631, ...}) = 0
10:08:07.800470 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800505 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800539 write(4, "--------------------------------"..., 112) = 112
10:08:07.800576 close(4) = 0
10:08:07.800613 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.800660 fstat(4, {st_mode=S_IFREG|0644, st_size=743, ...}) = 0
10:08:07.800704 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800742 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800776 write(4, "Workerman version:4.0.17 "..., 53) = 53
10:08:07.800812 close(4) = 0
10:08:07.800863 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.800899 fstat(4, {st_mode=S_IFREG|0644, st_size=796, ...}) = 0
10:08:07.800934 lseek(4, 0, SEEK_CUR) = 0
10:08:07.800971 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801023 write(4, "start time:2021-02-26 16:03:53 "..., 56) = 56
10:08:07.801060 close(4) = 0
10:08:07.801102 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.801138 fstat(4, {st_mode=S_IFREG|0644, st_size=852, ...}) = 0
10:08:07.801173 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801212 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801247 write(4, "load average: 0.18, 0, 0 "..., 68) = 68
10:08:07.801283 close(4) = 0
10:08:07.801320 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.801356 fstat(4, {st_mode=S_IFREG|0644, st_size=920, ...}) = 0
10:08:07.801391 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801429 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801464 write(4, "9 workers 8 processes\n", 28) = 28
10:08:07.801501 close(4) = 0
10:08:07.801536 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.801572 fstat(4, {st_mode=S_IFREG|0644, st_size=948, ...}) = 0
10:08:07.801607 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801646 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801677 write(4, "worker_name exit_statu"..., 50) = 50
10:08:07.801716 close(4) = 0
10:08:07.801755 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.801791 fstat(4, {st_mode=S_IFREG|0644, st_size=998, ...}) = 0
10:08:07.801827 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801861 lseek(4, 0, SEEK_CUR) = 0
10:08:07.801894 write(4, "webman 0 "..., 42) = 42
10:08:07.801933 close(4) = 0
10:08:07.801970 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.802007 fstat(4, {st_mode=S_IFREG|0644, st_size=1040, ...}) = 0
10:08:07.802042 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802076 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802111 write(4, "Monitor 0 "..., 41) = 41
10:08:07.802147 close(4) = 0
10:08:07.802187 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.802224 fstat(4, {st_mode=S_IFREG|0644, st_size=1081, ...}) = 0
10:08:07.802260 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802294 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802327 write(4, "RabbitMqConsumer 0 "..., 42) = 42
10:08:07.802363 close(4) = 0
10:08:07.802399 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.802439 fstat(4, {st_mode=S_IFREG|0644, st_size=1123, ...}) = 0
10:08:07.802477 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802510 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802544 write(4, "Proxy 0 "..., 41) = 41
10:08:07.802580 close(4) = 0
10:08:07.802616 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.802664 fstat(4, {st_mode=S_IFREG|0644, st_size=1164, ...}) = 0
10:08:07.802703 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802738 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802772 write(4, "Synchronization 0 "..., 41) = 41
10:08:07.802808 close(4) = 0
10:08:07.802844 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.802880 fstat(4, {st_mode=S_IFREG|0644, st_size=1205, ...}) = 0
10:08:07.802916 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802949 lseek(4, 0, SEEK_CUR) = 0
10:08:07.802986 write(4, "Statistics 0 "..., 41) = 41
10:08:07.803022 close(4) = 0
10:08:07.803074 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.803111 fstat(4, {st_mode=S_IFREG|0644, st_size=1246, ...}) = 0
10:08:07.803151 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803187 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803221 write(4, "ShopStatistics 0 "..., 41) = 41
10:08:07.803258 close(4) = 0
10:08:07.803294 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.803330 fstat(4, {st_mode=S_IFREG|0644, st_size=1287, ...}) = 0
10:08:07.803365 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803399 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803432 write(4, "CheckProductExtension 0 "..., 41) = 41
10:08:07.803471 close(4) = 0
10:08:07.803507 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.803543 fstat(4, {st_mode=S_IFREG|0644, st_size=1328, ...}) = 0
10:08:07.803578 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803612 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803657 write(4, "ContentChecking 0 "..., 41) = 41
10:08:07.803694 close(4) = 0
10:08:07.803729 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.803765 fstat(4, {st_mode=S_IFREG|0644, st_size=1369, ...}) = 0
10:08:07.803800 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803834 lseek(4, 0, SEEK_CUR) = 0
10:08:07.803868 write(4, "--------------------------------"..., 112) = 112
10:08:07.803904 close(4) = 0
10:08:07.803941 open("/tmp/_www_DjApi_start.php.status", O_WRONLY|O_CREAT|O_APPEND, 0666) = 4
10:08:07.803979 fstat(4, {st_mode=S_IFREG|0644, st_size=1481, ...}) = 0
10:08:07.804014 lseek(4, 0, SEEK_CUR) = 0
10:08:07.804048 lseek(4, 0, SEEK_CUR) = 0
10:08:07.804082 write(4, "pid\tmemory listening "..., 112) = 112
10:08:07.804121 close(4) = 0
10:08:07.804159 chmod("/tmp/_www_DjApi_start.php.status", 0722) = 0
10:08:07.804201 kill(19400, SIGUSR2) = 0
10:08:07.804241 kill(19403, SIGUSR2) = 0
10:08:07.804354 kill(19406, SIGUSR2) = 0
10:08:07.804441 kill(19409, SIGUSR2) = 0
10:08:07.804520 kill(19410, SIGUSR2) = 0
10:08:07.804599 kill(19411, SIGUSR2) = 0
10:08:07.804695 kill(19413, SIGUSR2) = 0
10:08:07.804736 kill(19417, SIGUSR2) = 0
10:08:07.804815 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
10:08:07.804858 wait4(-1, ^Cstrace: Process 8764 detached

strace -ttp 19400
截图

2822 1 0
1个回答

walkor 打赏

看到一直有收到SIGUSER2信号。是在哪里一直运行 php start.php status 或者 php start.php status -d么?

还有是不是用了什么特殊的用法,比如用了pcntl_fork函数,用了Supervisor 之类的进程管理服务等。

strace 看进程好像没什么问题。

这个问题要想定位,得有个稳定的重现步骤,不然不好定位。

  • 小阳光 2021-03-01

    对,一直另一个终端运行了 php start.php status -d ,但是莫名其妙的就不监听端口了。能在qq群里面帮助一下吗,这讨论个太不及时了。

年代过于久远,无法发表回答
×
🔝