Nagios process at 100% CPU, system is crawling

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.
amprantino
Posts: 140
Joined: Thu Apr 18, 2013 8:25 am
Location: libexec

Re: Nagios process at 100% CPU, system is crawling

Post by amprantino »

I am facing the same issue after upgrading to version 4.4.1
CGI scripts reach 100% cpu, apache2 response is really slow and the nagios site is not responding.
New comments are also saved numerous times in the files.

I had to delete retention.dat & status.dat, loosing the state of everything and creating a mess with notifications.
At the moment the only workaroud is informing users not to post comments.

Is there a plan for a fix or any workaround for version 4.4.1 ?

Thank you
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios process at 100% CPU, system is crawling

Post by scottwilkerson »

The maint branch has all of this resolved
https://github.com/NagiosEnterprises/na ... tree/maint

But also make sure you don't have multiple nagios parent processes running.

Code: Select all

ps -ef|grep nagios.cfg
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
amprantino
Posts: 140
Joined: Thu Apr 18, 2013 8:25 am
Location: libexec

Re: Nagios process at 100% CPU, system is crawling

Post by amprantino »

Yes, its fixed

Best Regards
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Nagios process at 100% CPU, system is crawling

Post by scottwilkerson »

amprantino wrote:Yes, its fixed

Best Regards
Locking
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
Locked