Page 1 of 1

centos7+Nagios 4 core generated defunct processses

Posted: Tue Apr 12, 2016 8:10 am
by nagmoto
Hi
I have a testing VM using centos7+nagios 4.1.1. the conf reload will always generate defunct processes(at 8:57am).
Is this normal behavior in Nagios 4 core ?
The defunct process disappear after a few minutes(9:01am).

Code: Select all

[root@nagios03b nagios]# systemctl restart  nagios ;sleep 2;ps -eaf |grep defunct
root      7166  5537  0 08:57 pts/2    00:00:00 grep --color=auto defunct
[root@nagios03b nagios]# systemctl reload  nagios ;sleep 2;ps -eaf |grep defunct
nagios    7157  7155  0 08:57 ?        00:00:00 [nagios] <defunct>
nagios    7158  7155  0 08:57 ?        00:00:00 [nagios] <defunct>
nagios    7159  7155  0 08:57 ?        00:00:00 [nagios] <defunct>
nagios    7160  7155  0 08:57 ?        00:00:00 [nagios] <defunct>
root      7199  5537  0 08:57 pts/2    00:00:00 grep --color=auto defunct
[root@nagios03b nagios]# systemctl restart  nagios ;sleep 2;ps -eaf |grep defunct
root      7253  5537  0 08:57 pts/2    00:00:00 grep --color=auto defunct
[root@nagios03b nagios]#cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)

[root@nagios03b nagios]#nagios --version

Nagios Core 4.1.1
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-19-2015
License: GPL

<snipped>

[root@nagios03b nagios]#ps -eaf |grep defaunt
root      7378  5537  0 09:01 pts/2    00:00:00 grep --color=auto defaunt
[root@nagios03b nagios]#


Re: centos7+Nagios 4 core generated defunct processses

Posted: Tue Apr 12, 2016 9:25 am
by bwallace
This is normal, refer to this thread (it is for XI but applies to Core as well)
https://support.nagios.com/forum/viewto ... =6&t=21804

Re: centos7+Nagios 4 core generated defunct processses

Posted: Tue Apr 12, 2016 10:43 am
by nagmoto
Thanks for the reply, please close this thread.

Re: centos7+Nagios 4 core generated defunct processses

Posted: Tue Apr 12, 2016 11:37 am
by bwallace
Always glad to help. I'll lock this thread now and feel free to open another should you require assistance with anything else.