Httpd keeps running at 100%

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Httpd keeps running at 100%

Post 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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Httpd keeps running at 100%

Post 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.
Former Nagios Employee
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Httpd keeps running at 100%

Post by vijilants »

Done as requested.

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

Thank you
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Httpd keeps running at 100%

Post by rkennedy »

Can you attempt to PM it over again? i received two messages from you, but neither of them has the profile attached.
Former Nagios Employee
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Httpd keeps running at 100%

Post 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.
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Httpd keeps running at 100%

Post 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.
Former Nagios Employee
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Httpd keeps running at 100%

Post 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
Former Nagios Employee
vijilants
Posts: 215
Joined: Wed Jun 12, 2013 2:50 pm

Re: Httpd keeps running at 100%

Post by vijilants »

I have replied to you via customer support.

Thanks
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Httpd keeps running at 100%

Post by tmcdonald »

We will be continuing via email, so I am closing this thread.
Former Nagios employee
Locked