CentOS 正在运行的进程没有响应终止信号并且没有上下文切换

CentOS 正在运行的进程没有响应终止信号并且没有上下文切换

我的 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状态?为什么它没有被上下文切换并移动到等待队列?为什么这个进程不响应无法处理的终止信号(例如SIGKILLSIGSTOP

相关内容