PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4294902125 bytes) in /usr/local/nagiosxi/tmp/nagiosxi/nagiosxi/basedir/html/includes/dbl.inc.php on line 2
I get the above error (twice....once before reboot, and again after reboot) when trying to update my nagios XI.
The first thing you need to try is up the "memory_limit" value in the /etc/php.ini file. Try setting it to 256M or 512M, depending on the available memory resources.
Example:
Something is definitely up, you should not be getting near to that much RAM on an upgrade. How many hosts/services are you monitoring with this server? Do you have other web-based applications running?
nagiosxi]# ./upgrade
Archive: sourceguardian/ixed4.lin.x86-64.zip
inflating: /usr/lib64/php/modules/ixed.5.6.lin
Sourceguardian extension found for PHP version 5.6
Sourceguardian extension already in php.ini
Stopping httpd: [ OK ]
Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using G1VPNAG03.mydomain.local for ServerName
[ OK ]
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 4294902125 bytes) in /tmp/nagiosxi/nagiosxi/basedir/html/includes/dbl.inc.php on line 2
[root@G1VPNAG03 nagiosxi]#