Nagios Fusion 4.1.6 - memory issues...

This support forum board is for questions relating to Nagios Fusion.
Locked
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Nagios Fusion 4.1.6 - memory issues...

Post by vishfx »

Hi Nagios Team,

We are running Nagios Fusion 4.1.6 and see that after fusing with one NagiosXI instance 105 HOSTS & 6000+ services , fusion is not showing the metrics.

Noticed the below error:

Code: Select all

PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 3063305 bytes) in /usr/local/nagiosfusion/html/includes/classes/db.inc.php on line 249
PHP Fatal error:  Call to a member function debugDumpParams() on a non-object in /usr/local/nagiosfusion/html/includes/classes/db.inc.php on line 589
So increased memory and recycled httpd :
/etc/php.ini - memory_limit = 1024M

I also see a bunch of php scripts running , but nothing is getting updated in the logs.
Still No luck.

I am attaching some screenshots and logs, kindly assist.

Regards,
Vish.
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Nagios Fusion 4.1.6 - memory issues...

Post by tgriep »

I see some deadlock errors when the system is trying to query the MYSQL database.
It could be that there is a stuck PHP script that is holding the tables open so make sure you stop all of the cron jobs that poll the data.
Run this to stop them

Code: Select all

service crond stop
Then verify that they are not running.


Also, run this command as root to verify that the Max Connections to the Mysql database has not been exceeded. Post the output.

Code: Select all

mysql -u fusion -pfusion -e "show global status like '%used_connections%'; show variables like 'max_connections';" 
And, in the Fusion GUI, increase the Polling Subsystem Memory Limit to 1024M and update the settings.

Then, wait for 10 minutes to see if the system starts to receive polling data.
Be sure to check out our Knowledgebase for helpful articles and solutions!
vishfx
Posts: 134
Joined: Tue Apr 24, 2018 12:30 pm

Re: Nagios Fusion 4.1.6 - memory issues...

Post by vishfx »

Followed your instructions.
Still do not see the data flow.

Requesting a screenshare troubleshooting session.
I have opened a support #536579

Regards,
Vish.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Nagios Fusion 4.1.6 - memory issues...

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.
Locked