chris_h
08.08.08, 07:52
Hi,
habe log-Überwachung swatch im Einsatz, leider produziert der pro Tag einen Zombie.
root 10731 0.0 0.1 2536 916 ? S 00:01 0:00 /USR/SBIN/CRON
root 10732 0.0 0.0 0 0 ? Zs 00:01 0:00 \_ [swatch] <defunct>
root 10734 0.0 0.1 4720 1540 ? S 00:01 0:00 \_ /usr/sbin/sendmail -i -FCronDaemon
root 10739 0.0 0.1 4704 1524 ? S 00:01 0:00 \_ /usr/sbin/postdrop -r
Dabei macht swatch das, was es soll und die config ist meines Erachtens auch o.k.
# /etc/swatch/swatch.conf
# Place where swatch will generate his temporary scripts
#SWATCH_SCRIPTDIR=/var/tmp/swatch
# File to monitor
#SWATCH_TAILFILE=/var/log/messages
#SWATCH_TAILFILE=/var/log/mail.log
# Ueberwachte Datei ist in /etc/init.d/swatch
ignore=/relay=local/
ignore=/relay=127\.0\.0\.1/
watchfor /: to=<([^@]+@[^>]+)>.*status=sent/
exec echo "$1 OK" >> /tmp/mail-sender
Aufgerufen wird mittels:
1 0 * * * root /etc/init.d/swatch restart
Hat wer von euch eine Idee?
Danke,
Chris
habe log-Überwachung swatch im Einsatz, leider produziert der pro Tag einen Zombie.
root 10731 0.0 0.1 2536 916 ? S 00:01 0:00 /USR/SBIN/CRON
root 10732 0.0 0.0 0 0 ? Zs 00:01 0:00 \_ [swatch] <defunct>
root 10734 0.0 0.1 4720 1540 ? S 00:01 0:00 \_ /usr/sbin/sendmail -i -FCronDaemon
root 10739 0.0 0.1 4704 1524 ? S 00:01 0:00 \_ /usr/sbin/postdrop -r
Dabei macht swatch das, was es soll und die config ist meines Erachtens auch o.k.
# /etc/swatch/swatch.conf
# Place where swatch will generate his temporary scripts
#SWATCH_SCRIPTDIR=/var/tmp/swatch
# File to monitor
#SWATCH_TAILFILE=/var/log/messages
#SWATCH_TAILFILE=/var/log/mail.log
# Ueberwachte Datei ist in /etc/init.d/swatch
ignore=/relay=local/
ignore=/relay=127\.0\.0\.1/
watchfor /: to=<([^@]+@[^>]+)>.*status=sent/
exec echo "$1 OK" >> /tmp/mail-sender
Aufgerufen wird mittels:
1 0 * * * root /etc/init.d/swatch restart
Hat wer von euch eine Idee?
Danke,
Chris