Nagios Showing more Defunct process

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Nagios Showing more Defunct process

Post 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
You do not have the required permissions to view the files attached to this post.
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Showing more Defunct process

Post 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.
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Nagios Showing more Defunct process

Post 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..??
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Showing more Defunct process

Post 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.
anoop
Posts: 95
Joined: Tue Jun 25, 2013 1:22 am

Re: Nagios Showing more Defunct process

Post by anoop »

hi,

Yes, it is changing and some times defunct is showing high and sometimes low... is that effect any performance..?
System:
Nagios XI Version : 2012R2.2 | PHP Version: 5.3.3
Offloaded MySQL DB on another virtual machine
16 CPU with 2 cores each | 32 GB RAM | 1 TB HDD
CentOS-6.3 |Total = 4,000 hosts| 40,000 services.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Showing more Defunct process

Post 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.
Locked