[syslog-ng] supervise/syslog-ng exits

Kārlis Repsons repsons at gmail.com
Wed Dec 16 13:48:18 CET 2009


On Wednesday 16 December 2009 11:41:50 SZALAY Attila wrote:
> If you are talking about the pid number 28806 that pid is the
> supervisor's pid. Which is not exit. Just the syslog-ng itself. So it is
> possible to receive a lot of this message with the same pid.
I was writing about the pid of syslog-ng, not supervising syslog-ng!

root     26918     1  0 Dec11 ?        00:00:00 supervising syslog-ng
root     26919 26918  0 Dec11 ?        00:05:00 /usr/sbin/syslog-ng

However, messages in syslong-ng.log report very different pids on crash:
supervise/syslog-ng[24337]: Daemon exited gracefully
yesterday:
supervise/syslog-ng[31237]: Daemon exited gracefully

It is my error-script related thing, because this happens when some other error happens too.


Its strange with that script. The first instance appears to be started along with syslog-ng:
root     26920 26919  0 Dec11 ?        00:00:00 /bin/bash /opt/scripts-system/crashmail

But there are another two instances, which somehow origin from the first...
root     24423 26920  0 12:30 ?        00:00:00 /bin/bash /opt/scripts-system/crashmail
root     24427 24423  0 12:30 ?        00:00:00 /bin/bash /opt/scripts-system/crashmail

Lets just say, I don't understand this. Is it fifo or sendmail usage to blame, no idea this far.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20091216/7051f6ee/attachment.pgp 


More information about the syslog-ng mailing list