[syslog-ng]Problems with PID file

Martin Grimsehl grimsehl@cs.tu-berlin.de
Fri, 24 Nov 2000 14:26:52 +0100


hi everybody,

we use syslog-ng in a large cluster of some online services.
however we do encounter problems with the pid-file handling.

i start syslog-ng as

syslog-ng --pidfile=/var/run/syslog-ng.pid --cfgfile=/usr/global/etc/syslog-ng.conf

and its running fine.


yesterday i did:
# ps auxw| grep syslog-ng
root      5366  ...syslog-ng --pidfile=/var/run/syslog-ng.pid...
# cat /var/run/syslog-ng.pid
5366

today i did:
# ps auxw| grep syslog-ng
root      18357  ...syslog-ng --pidfile=/var/run/syslog-ng.pid...
# cat /var/run/syslog-ng.pid
5366


so for some mysterious reasons
	a) syslog-ng restarts (maybe some cron job to logrotate the
			systems syslog)
	b) the pid in /var/run/syslog-ng.pid  does not get updated

syslog-ng is running here on Tru64 4.0 alpha.




						martin