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