私のLinuxサーバーのupdatebプロセスは終了シグナルに応答しません。 (kill -9 または SIGSTOP)
[root@chroot-1 ~]# ps auwx | grep -i 4505
root 4505 99.5 0.0 59544 1256 ? RN 09:43 112:04 /usr/bin/updatedb -f sysfs?rootfs?bdev?proc?cpuset?binfmt_misc?debugfs?securityfs?sockfs?usbfs?pipefs?anon_inodefs?futexfs?tmpfs?inotifyfs?eventpollfs?devpts?ramfs?hugetlbfs?mqueue?selinuxfs?rpc_pipefs?autofs
root 5727 0.0 0.0 61212 836 pts/2 S+ 11:36 0:00 grep -i 4505
[root@chroot-1 ~]# kill -9 4505
[root@chroot-1 ~]# kill -9 4505
[root@chroot-1 ~]# kill -9 4505
[root@chroot-1 ~]# ps auwx | grep -i 4505
root 4505 99.5 0.0 59544 1256 ? RN 09:43 112:16 /usr/bin/updatedb -f sysfs?rootfs?bdev?proc?cpuset?binfmt_misc?debugfs?securityfs?sockfs?usbfs?pipefs?anon_inodefs?futexfs?tmpfs?inotifyfs?eventpollfs?devpts?ramfs?hugetlbfs?mqueue?selinuxfs?rpc_pipefs?autofs
root 5729 0.0 0.0 61212 840 pts/2 S+ 11:36 0:00 grep -i 4505
[root@chroot-1 ~]# kill -s SIGSTOP 4505
[root@chroot-1 ~]# ps auwx | grep -i 4505
root 4505 99.5 0.0 59544 1256 ? RN 09:43 112:31 /usr/bin/updatedb -f sysfs?rootfs?bdev?proc?cpuset?binfmt_misc?debugfs?securityfs?sockfs?usbfs?pipefs?anon_inodefs?futexfs?tmpfs?inotifyfs?eventpollfs?devpts?ramfs?hugetlbfs?mqueue?selinuxfs?rpc_pipefs?autofs
root 5731 0.0 0.0 61212 840 pts/2 S+ 11:36 0:00 grep -i 4505
From top
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4505 root 34 19 59544 1256 548 R 100.0 0.0 108:49.08 updatedb
プロセスが常にR状態であるのはなぜですか?コンテキストが切り替えられず、キューに移動されないのはなぜですか?このプロセスが未処理の終了信号(SIGKILL
またはSIGSTOP
)に応答しないのはなぜですか?