Lots of nagios -d processes not doing anything...

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
raulpe
Posts: 28
Joined: Mon Nov 25, 2013 10:44 am

Lots of nagios -d processes not doing anything...

Post by raulpe »

Hello,

I am seeing some behavior which does not seem normal to me. Over time I have found Nagios will start over a hundred "/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg" and they just sit there until I manually kill them. This consumes a lot of memory and slows my server down. I believe the highest number I have seen is 192 of them. Some are daemons which run and die quickly but others just sit there for days until killed.

Has anyone experienced this or knows what might be causing it?

Thank you.

I'm using Nagios 3.4.1.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Lots of nagios -d processes not doing anything...

Post by sreinhardt »

Around 3.4.4 there was a patch for duplicating checks (additional processes as nagios forks) when the system has been reloaded. Could this be the case? Is there a reason you have not updated to 3.5.x?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
raulpe
Posts: 28
Joined: Mon Nov 25, 2013 10:44 am

Re: Lots of nagios -d processes not doing anything...

Post by raulpe »

It is possible this is due to that because it seems to get worse when we are doing configuration changes.

No particular reason for not updating yet. Now that 4 is out I might upgrade. Thanks for your response.
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Lots of nagios -d processes not doing anything...

Post by sreinhardt »

Ya that would make sense, well if you need more details or keep having issues after updating past 3.4.4 let us know!
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Locked