[Eisfair] logrotate-Zombies

Marcus Röckrath marcus.roeckrath at gmx.de
Mo Jul 5 09:23:46 CEST 2021


Hallo Sebastian,

Sebastian Ertz wrote:

> Jul  5 08:11:38 eisatc fcron[28475]: Job
> '/usr/lib/backup-zip/backup.create scron 1 >/dev/null' started for user
> root (pid 28481)

Wenn ich den Zombie nicht manuell kille, sondern der fcron wohl neu
gestartet wurde, finde ich ganz verschiedene cron-Jobs die neu gestartet
wurden:

Jun  7 16:58:38 eis fcron[23653]: job '/etc/cron.daily/logrotate' did not
finish : running it again.
May  8 17:17:46 eis fcron[5382]: job '/usr/local/f-prot/fpupdate' did not
finish : running it again.
May  8 17:17:46 eis fcron[5382]: job '/usr/local/eisgraph/eisgraph.sh
collect > /dev/null' did not finish : running it again.
May  8 17:17:46 eis fcron[5382]: job 'sleep
15 ; /usr/local/eisgraph/eisgraph.sh graph > /dev/null' did not finish :
running it again.
May  8 17:17:46 eis fcron[5382]: job 'sensors > /var/eisgraph/sensors.tmp'
did not finish : running it again.
May  8 17:17:46 eis fcron[5382]: job
'/var/install/bin/mail-check-folder-size' did not finish : running it
again.
May 30 20:03:02 eis fcron[1554]: job '/etc/cron.daily/logrotate' did not
finish : running it again.

oder auf der anderen Maschine:

Jun  7 16:59:05 nepo-vw-server fcron[17985]: job '/etc/cron.daily/logrotate'
did not finish : running it again.
Jun  7 16:59:05 nepo-vw-server fcron[17985]: job '/root/log-active-hosts'
did not finish : running it again.
Jun  7 16:59:05 nepo-vw-server fcron[17985]: job
'/usr/local/eisgraph/eisgraph.sh collect > /dev/null' did not finish :
running it again.
Jun  7 16:59:05 nepo-vw-server fcron[17985]: job 'sensors
> /var/eisgraph/sensors.tmp' did not finish : running it again.
Jun 19 09:11:05 nepo-vw-server fcron[1813]: job '/etc/cron.daily/logrotate'
did not finish : running it again.
Sep 27 14:25:02 nepo-vw-server fcron[27217]: job '/root/log-active-hosts'
did not finish : running it again.
May 26 18:59:04 nepo-vw-server fcron[13990]: job
'/usr/local/eisgraph/eisgraph.sh collect > /dev/null' did not finish :
running it again.
Mar 29 14:33:35 nepo-vw-server fcron[5807]: job '/etc/cron.daily/logrotate'
did not finish : running it again.

Mir erscheint ein Problem im fcron eher wahrscheinlich, als die alle diese
Dienste als Verursacher anzusehen.

Wenn bei mir der Zombie wegen logrotate sonntäglich auftritt, kann ich
feststellen, dass korrekt rotiert wurde; habe in /etc/cron.daily/logrotate
das Logging in logrotate aktiviert.

Für mich sieht es eher so aus, als ob der fcron nicht die Beendigung des
gestarteten Jobs abwartet, denn der Zombie entsteht doch dadurch, dass sich
der Parent beendet, während der Child noch läuft.

Deswegen muss man ja auch den Parent killen, um den Client-Zombie
loszuwerden.

-- 
Gruß Marcus
[eisfair-Team]


Mehr Informationen über die Mailingliste Eisfair