Page 1 of 1

Nagios Fusion 4.1.6 - memory issues...

Posted: Wed Feb 06, 2019 3:45 am
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.

Re: Nagios Fusion 4.1.6 - memory issues...

Posted: Wed Feb 06, 2019 4:05 pm
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.

Re: Nagios Fusion 4.1.6 - memory issues...

Posted: Thu Feb 07, 2019 3:38 am
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.

Re: Nagios Fusion 4.1.6 - memory issues...

Posted: Thu Feb 07, 2019 12:34 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.