Aha, danke dir.
Hab den Unhold scheinbar gefunden:
lsof hat geschrieben:
check_nrp 21356 nagios cwd DIR 3,1 4096 2 /
check_nrp 21356 nagios rtd DIR 3,1 4096 2 /
check_nrp 21356 nagios txt unknown /proc/21356/exe (readlink: No such file or directory)
check_nrp 21356 nagios 0r CHR 1,3 1166 /dev/null
check_nrp 21356 nagios 1w FIFO 0,5 710721 pipe
check_nrp 21356 nagios 2w CHR 1,3 1166 /dev/null
check_nrp 21356 nagios 7w FIFO 0,5 51609 pipe
check_nrp 22539 nagios cwd DIR 3,1 4096 2 /
check_nrp 22539 nagios rtd DIR 3,1 4096 2 /
check_nrp 22539 nagios txt unknown /proc/22539/exe (readlink: No such file or directory)
check_nrp 22539 nagios 0r CHR 1,3 1166 /dev/null
check_nrp 22539 nagios 1w FIFO 0,5 717475 pipe
check_nrp 22539 nagios 2w CHR 1,3 1166 /dev/null
check_nrp 22539 nagios 7w FIFO 0,5 51609 pipe
check_nrp 23929 nagios cwd DIR 3,1 4096 2 /
check_nrp 23929 nagios rtd DIR 3,1 4096 2 /
check_nrp 23929 nagios txt unknown /proc/23929/exe (readlink: No such file or directory)
check_nrp 23929 nagios 0r CHR 1,3 1166 /dev/null
check_nrp 23929 nagios 1w FIFO 0,5 251860 pipe
check_nrp 23929 nagios 2w CHR 1,3 1166 /dev/null
check_nrp 23929 nagios 7w FIFO 0,5 51609 pipe
check_nrp 26727 nagios cwd DIR 3,1 4096 2 /
check_nrp 26727 nagios rtd DIR 3,1 4096 2 /
check_nrp 26727 nagios txt unknown /proc/26727/exe (readlink: No such file or directory)
check_nrp 26727 nagios 0r CHR 1,3 1166 /dev/null
check_nrp 26727 nagios 1w FIFO 0,5 580760 pipe
check_nrp 26727 nagios 2w CHR 1,3 1166 /dev/null
check_nrp 26727 nagios 7w FIFO 0,5 51609 pipe
check_nrp 28065 nagios cwd DIR 3,1 4096 2 /
check_nrp 28065 nagios rtd DIR 3,1 4096 2 /
check_nrp 28065 nagios txt unknown /proc/28065/exe (readlink: No such file or directory)
check_nrp 28065 nagios 0r CHR 1,3 1166 /dev/null
check_nrp 28065 nagios 1w FIFO 0,5 587203 pipe
check_nrp 28065 nagios 2w CHR 1,3 1166 /dev/null
check_nrp 28065 nagios 7w FIFO 0,5 51609 pipe
check_pin 29083 nagios cwd DIR 3,1 4096 2 /
check_pin 29083 nagios rtd DIR 3,1 4096 2 /
...
Besonders die Zeile
Code: Alles auswählen
check_nrp 28065 nagios txt unknown /proc/28065/exe (readlink: No such file or directory)
scheint mir hier interessant. Und tatsächlich, die entsprechenden exe-Links zeigen ins nirgendwo:
Code: Alles auswählen
# ls -l /proc/28065/exe
ls: cannot read symbolic link /proc/28065/exe: No such file or directory
lrwxrwxrwx 1 root root 0 Apr 24 11:54 /proc/28065/exe
Die entsprechenden Prozesse hängen auch noch herum, lassen sich jedoch nicht einmal mit kill -9 beenden:
Code: Alles auswählen
# ps aux|grep nagios
nagios 15056 0.0 0.0 0 0 ? DN Apr22 0:00 [check_ssh]
nagios 15420 0.0 0.0 0 0 ? DN Apr22 0:00 [check_nrpe]
nagios 16330 0.0 0.0 0 0 ? DN Apr22 0:00 [check_nrpe]
nagios 23929 0.0 0.0 0 0 ? DN Apr22 0:00 [check_nrpe]
nagios 32153 0.0 0.0 0 0 ? DN Apr22 0:00 [check_nrpe]
nagios 4396 0.0 0.0 0 0 ? DN Apr22 0:00 [check_nrpe]
nagios 11339 0.0 0.0 0 0 ? DN Apr22 0:00 [nagios2]
nagios 12585 0.0 0.0 0 0 ? DN Apr22 0:00 [check_nrpe]
nagios 2703 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 9681 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 12237 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 14304 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 15607 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 17314 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 26727 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 28065 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 31058 0.0 0.0 0 0 ? DN Apr23 0:00 [check_nrpe]
nagios 21356 0.0 0.0 0 0 ? DN 03:12 0:00 [check_nrpe]
nagios 22539 0.0 0.0 0 0 ? DN 03:44 0:00 [check_nrpe]
nagios 29083 0.0 0.0 0 0 ? DN 06:42 0:00 [check_ping]
Nun stellen sich mir wieder zwei Fragen:
1. Wieso zeigen die exe-Links ins Nirvana?
2. Warum kann ich die Prozesse nicht einmal abschießen?