Page 1 of 1

Httpd keeps running at 100%

Posted: Thu Jan 12, 2017 10:04 am
by vijilants
System:

Nagios XI Version : 5.2.3
CentOS release 6.5 (Final)


Can someone please advise on the following....

Over the past month or so our system has been very slow and today it came up with the following but recovered...

COULD NOT CONNECT TO THE DATABASE! in red bold print.

It said sever is down and there trying to repair the connection but if this does not work to use this in the CLI as root to attempt to repair the DB with

/urs/local/nagiosxi/scripts/repair_databases.sh


I checked the processes running on the Linux box using Top and noticed that the httpd process keeps running up to 100%

24673 apache 20 0 97.7m 62m 5680 R 100.0 0.8 12:04.55 httpd

Can someone please advise on why this could be happening ?

Many Thanks

Re: Httpd keeps running at 100%

Posted: Thu Jan 12, 2017 10:55 am
by rkennedy
Can you please PM over a profile for us to review? (Admin -> System Profile -> Download Profile)

This should have a lot of information for us to review about your environment.

Re: Httpd keeps running at 100%

Posted: Thu Jan 12, 2017 12:01 pm
by vijilants
Done as requested.

snmptt and mrtg also running high. We have an identical system which is not behaving like this.

Thank you

Re: Httpd keeps running at 100%

Posted: Thu Jan 12, 2017 2:48 pm
by rkennedy
Can you attempt to PM it over again? i received two messages from you, but neither of them has the profile attached.

Re: Httpd keeps running at 100%

Posted: Fri Jan 13, 2017 3:46 am
by vijilants
rkennedy wrote:Can you attempt to PM it over again? i received two messages from you, but neither of them has the profile attached.

The PM will lot accept files over 1mb.

Now perl has started running at 100% and our system is becoming unuseable.

Desperately need this sorted please.

Re: Httpd keeps running at 100%

Posted: Fri Jan 13, 2017 10:29 am
by rkennedy
If perl is running at 100% then the general culprit is due to failed SNMP checks, or a failed check that runs with perl. You'll need to clean up your system to bring this down a bit.

Are you authorized on your account to submit tickets in? Please send the profile to [email protected] referencing this thread and we'll then be able to further help you.

Re: Httpd keeps running at 100%

Posted: Mon Jan 16, 2017 12:45 pm
by rkennedy
Your load is definitely at an unhealthy state, and it does appear to be the perl plugins open. I would guess this is due to the open SNMP connections.

What is the full output of this? ps -eo pcpu,args --sort=-%cpu

Re: Httpd keeps running at 100%

Posted: Tue Jan 17, 2017 12:54 pm
by vijilants
I have replied to you via customer support.

Thanks

Re: Httpd keeps running at 100%

Posted: Tue Jan 17, 2017 1:21 pm
by tmcdonald
We will be continuing via email, so I am closing this thread.