what is the 'supervising syslog-ng' process?
We have syslog-ng-client-3.0.5-1.rhel5 installed on several machines. However on 2 of those Nagios has flagged that there's an extra process with the command 'supervising syslog-ng'. Both machine1 and machine2 are Scientific Linux 5.4 (a RHEL clone) x86_64 Xen virtual machines with the exact same syslog-ng.conf: [root@machine1 ~]# ps -ef | grep syslog-ng root 24891 1 0 09:26 ? 00:00:00 supervising syslog-ng root 24892 24891 0 09:26 ? 00:00:00 /opt/syslog-ng/sbin/syslog-ng --no-caps [root@machine2 ~]# ps -ef | grep syslog root 1718 1695 0 09:38 pts/0 00:00:00 grep syslog root 2137 1 0 Feb01 ? 00:00:09 /opt/syslog-ng/sbin/syslog-ng --no-caps Can someone explain what this 'supervising' process is? Thanks Tim Edwards
Hi, syslog-ng has a supervisor process, that monitors the child, if it crashes, it automatically restarts it. So, it is an absolut normal operation on your machines. 2010.03.04. 9:44 keltezéssel, Tim Edwards írta:
We have syslog-ng-client-3.0.5-1.rhel5 installed on several machines. However on 2 of those Nagios has flagged that there's an extra process with the command 'supervising syslog-ng'.
Both machine1 and machine2 are Scientific Linux 5.4 (a RHEL clone) x86_64 Xen virtual machines with the exact same syslog-ng.conf:
[root@machine1 ~]# ps -ef | grep syslog-ng root 24891 1 0 09:26 ? 00:00:00 supervising syslog-ng
root 24892 24891 0 09:26 ? 00:00:00 /opt/syslog-ng/sbin/syslog-ng --no-caps
[root@machine2 ~]# ps -ef | grep syslog root 1718 1695 0 09:38 pts/0 00:00:00 grep syslog root 2137 1 0 Feb01 ? 00:00:09 /opt/syslog-ng/sbin/syslog-ng --no-caps
Can someone explain what this 'supervising' process is?
Thanks
Tim Edwards ______________________________________________________________________________ Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
-- pzolee
Thanks, however we're seeing it enabled on some machines and not others. What's the setting to enable or disable it? As I showed below I have 2 identical machines, where one has it enabled and one not. Tim On 04/03/10 20:18, Zoltán Pallagi wrote:
Hi,
syslog-ng has a supervisor process, that monitors the child, if it crashes, it automatically restarts it. So, it is an absolut normal operation on your machines.
2010.03.04. 9:44 keltezéssel, Tim Edwards írta:
We have syslog-ng-client-3.0.5-1.rhel5 installed on several machines. However on 2 of those Nagios has flagged that there's an extra process with the command 'supervising syslog-ng'.
Both machine1 and machine2 are Scientific Linux 5.4 (a RHEL clone) x86_64 Xen virtual machines with the exact same syslog-ng.conf:
[root@machine1 ~]# ps -ef | grep syslog-ng root 24891 1 0 09:26 ? 00:00:00 supervising syslog-ng
root 24892 24891 0 09:26 ? 00:00:00 /opt/syslog-ng/sbin/syslog-ng --no-caps
[root@machine2 ~]# ps -ef | grep syslog root 1718 1695 0 09:38 pts/0 00:00:00 grep syslog root 2137 1 0 Feb01 ? 00:00:09 /opt/syslog-ng/sbin/syslog-ng --no-caps
Can someone explain what this 'supervising' process is?
Thanks
Tim Edwards ______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng FAQ: http://www.campin.net/syslog-ng/faq.html
On Fri, 2010-03-05 at 08:51 +0100, Tim Edwards wrote:
Thanks, however we're seeing it enabled on some machines and not others. What's the setting to enable or disable it? As I showed below I have 2 identical machines, where one has it enabled and one not.
it is controlled by command line option and is enabled by default. all of them run the same syslog-ng version? --process-mode=<foreground|background|safe-background> Set process running mode --process-mode safe-background is the default which enables the supervisor. The other two disables it. -- Bazsi
participants (3)
-
Balazs Scheidler
-
Tim Edwards
-
Zoltán Pallagi