Page 1 of 1

Nagios Showing more Defunct process

Posted: Wed Oct 23, 2013 9:37 am
by anoop
HI Team,

Nagios Server is showing so many defunct process when i give

# ps -ef | grep -i defunct

as attached below..

We installed offloaded DB for the Nagios XI APP Server and provided "max_connections" as 1000.

Please let us know why these many "Defunct Process" happening in Nagios Xi Server and suggest us to resolve the issue

Re: Nagios Showing more Defunct process

Posted: Wed Oct 23, 2013 10:37 am
by slansing
How many zombie processes are you seeing? This is common if you are running a great deal of active checks as they will stay there until the check is returned and reaped by Nagios.

Re: Nagios Showing more Defunct process

Posted: Wed Oct 23, 2013 11:30 am
by anoop
HI Team,

Zombie process showing as 170 in top command and due to this defunct process, it may use more CPU or iowait..??

Re: Nagios Showing more Defunct process

Posted: Wed Oct 23, 2013 11:36 am
by slansing
Do you see any of them being removed? As I mentioned above it is more likely than not that they are just waiting for checks to be returned and reaped.

Re: Nagios Showing more Defunct process

Posted: Wed Oct 23, 2013 11:38 am
by anoop
hi,

Yes, it is changing and some times defunct is showing high and sometimes low... is that effect any performance..?

Re: Nagios Showing more Defunct process

Posted: Wed Oct 23, 2013 11:50 am
by slansing
It won't have too much of an effect, and it's not something you can realistically control, nagios forks for checks it runs and that is how it processes the returned checks. Once reaped the processes will normally be removed.