Добрый день!Подскажите, пожалуйста, как удалить зомби-процессы ?
Лучше, конечно, выяснить причину почему они появляются и устранить её.
[root@host ~]# ps -el | grep Z | head
F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
1 Z 0 475 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
4 Z 0 629 1 0 80 0 - 0 exit ? 00:11:48 systemd-logind <defunct>
1 Z 0 704 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
4 Z 997 706 1 0 80 0 - 0 exit ? 20:35:10 polkitd <defunct>
1 Z 0 1060 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
1 Z 0 1195 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
1 Z 0 1344 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
1 Z 0 1371 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
1 Z 0 1431 1 0 80 0 - 0 exit ? 00:00:00 anacron <defunct>
[root@host ~]#
Например, как посмотреть, что anacron генерит эти зомби-процессы?
Версия операционной системы:
[root@host ~]# cat /etc/os-release
NAME="Oracle Linux Server"
VERSION="7.2"
ID="ol"
VERSION_ID="7.2"
PRETTY_NAME="Oracle Linux Server 7.2"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:oracle:linux:7:2:server"
HOME_URL="https://linux.oracle.com/"
BUG_REPORT_URL="https://bugzilla.oracle.com/"
ORACLE_BUGZILLA_PRODUCT="Oracle Linux 7"
ORACLE_BUGZILLA_PRODUCT_VERSION=7.2
ORACLE_SUPPORT_PRODUCT="Oracle Linux"
ORACLE_SUPPORT_PRODUCT_VERSION=7.2
[root@host ~]
С уважением, Борис,