centos7+Nagios 4 core generated defunct processses

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

centos7+Nagios 4 core generated defunct processses

Post 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]#

bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: centos7+Nagios 4 core generated defunct processses

Post 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
Be sure to check out the Knowledgebase for helpful articles and solutions!
nagmoto
Posts: 195
Joined: Fri Jan 09, 2015 8:05 am

Re: centos7+Nagios 4 core generated defunct processses

Post by nagmoto »

Thanks for the reply, please close this thread.
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: centos7+Nagios 4 core generated defunct processses

Post 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.
Be sure to check out the Knowledgebase for helpful articles and solutions!
Locked