Có 5 quy trình không thể bị giết kill -9 $PIDvà thực thi cat /proc/$PID/cmdlinesẽ treo phiên hiện tại. Có lẽ chúng là quá trình zombie.
Thực hiện ps -ef or htopcũng sẽ treo phiên hiện tại. Nhưng topvà ps -eđang làm việc tốt.
Vì vậy, có vẻ như có hai vấn đề mà hệ thống tập tin không đáp ứng.
Đây là một máy sản xuất chạy các máy ảo, vì vậy việc khởi động lại không phải là một lựa chọn.
Các quy trình sau id không hoạt động: 16181 16765 5985 7427 7547
Cha mẹ của các quá trình này là init
├─collectd(16765)─┬─{collectd}(16776)
│ ├─{collectd}(16777)
│ ├─{collectd}(16778)
│ ├─{collectd}(16779)
│ ├─{collectd}(16780)
│ └─{collectd}(16781)
├─collectd(28642)───{collectd}(28650)
├─collectd(29868)─┬─{collectd}(29873)
│ ├─{collectd}(29874)
│ ├─{collectd}(29875)
│ └─{collectd}(29876)
Và một trong những quy trình qemu không hoạt động
|-qemu-system-x86(16181)-+-{qemu-system-x86}(16232)
| |-{qemu-system-x86}(16238)
| |-{qemu-system-x86}(16803)
| |-{qemu-system-x86}(17990)
| |-{qemu-system-x86}(17991)
| |-{qemu-system-x86}(17992)
| |-{qemu-system-x86}(18062)
| |-{qemu-system-x86}(18066)
| |-{qemu-system-x86}(18072)
| |-{qemu-system-x86}(18073)
| |-{qemu-system-x86}(18074)
| |-{qemu-system-x86}(18078)
| |-{qemu-system-x86}(18079)
| |-{qemu-system-x86}(18086)
| |-{qemu-system-x86}(18088)
| |-{qemu-system-x86}(18092)
| |-{qemu-system-x86}(18107)
| |-{qemu-system-x86}(18108)
| |-{qemu-system-x86}(18111)
| |-{qemu-system-x86}(18113)
| |-{qemu-system-x86}(18114)
| |-{qemu-system-x86}(18119)
| |-{qemu-system-x86}(23147)
| `-{qemu-system-x86}(27051)
/usr/bin/strace ps -efđể xem chính xác nơi bạn ps -efđang treo.
ps -elhoạt động và trạng thái là những quá trình trong?