Page 3 of 4
Re: WEB UI becomes unresponsive after config apply
Posted: Wed Feb 15, 2017 3:05 pm
by gdolidze
php -v
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
The only thing that comes to my mind is that, we tried to upgrade thought the WEB UI interface but it gave me issues so then i manually upgraded the server.
We didn't do any other updates.
I added the opcache.fast_shutdown=0 and the issue still exists.
Re: WEB UI becomes unresponsive after config apply
Posted: Wed Feb 15, 2017 5:23 pm
by tgriep
The php version looks good.
Are you still seeing the zend_mm_heap errors and the timeout errors in the /var/log/httpd/error_log file?
In the XI GUI, go to the Admin > System Settings menu and if the hostname is used in the Program and External URL, change it to the IP address instead of the hostname.
Update the settings and close out your browser and clear it's cache.
Then login to the XI sever using the IP address, does it respond faster?
Re: WEB UI becomes unresponsive after config apply
Posted: Thu Feb 16, 2017 2:07 pm
by gdolidze
The zend_mm_heaps seem to be gone.
We always used ip address instead of hostname.
The issues still seems to be happening.
Re: WEB UI becomes unresponsive after config apply
Posted: Thu Feb 16, 2017 2:24 pm
by tgriep
Can you post the following files so we can view them?
Code: Select all
/etc/hosts
/etc/httpd/conf/httpd.conf
/etc/httpd/conf.d/nagiosxi.conf
/etc/httpd/conf.d/ssl.conf
Also, disable the Arcserve agent on the server and see if that helps out in the performance of the system.
Re: WEB UI becomes unresponsive after config apply
Posted: Thu Feb 16, 2017 2:50 pm
by tgriep
One more thing, disable the fail2ban-server daemon that is running on the server and see if that helps as well.
Re: WEB UI becomes unresponsive after config apply
Posted: Fri Feb 17, 2017 9:06 am
by gdolidze
I have stoped both arcserv and fail2ban.
Here are the files you asked for as well.
Re: WEB UI becomes unresponsive after config apply
Posted: Fri Feb 17, 2017 9:22 am
by gdolidze
The 4th file.
turning of those agent didn't fix the issue.
It just says, Your request was not processed in a timely manner. It may still execute, as the server may be temporary busy.
We are thinking of maybe doing a migration.
Do you guys have a procedure for this.
Also does the migration copy over the service history for the graphs and charts.
Re: WEB UI becomes unresponsive after config apply
Posted: Fri Feb 17, 2017 9:57 am
by tgriep
It looks like the Apache rewrite rule in in the /etc/httpd/conf.d/nagiosxi.conf file twice and that could be causing the issue.
Edit that file and remove one of the following sections.
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule nagiosxi/api/v1/(.*)$ /usr/local/nagiosxi/html/api/v1/index.php?request=$1 [QSA,NC,L]
</IfModule>
Then restart Apache by running
See if that helps out on the performance.
Take a look at this KB article for the migration procedure.
https://support.nagios.com/kb/article.php?id=180
Re: WEB UI becomes unresponsive after config apply
Posted: Fri Feb 17, 2017 10:25 am
by gdolidze
The issue wasn't fixed.
still get, Your request was not processed in a timely manner. It may still execute, as the server may be temporary busy.
Re: WEB UI becomes unresponsive after config apply
Posted: Fri Feb 17, 2017 3:12 pm
by tgriep
I think the zend_heap issue may still be happening but the message is not in the log file anymore.
Can you run the following commands and post the output?
Code: Select all
grep "date.timezone" /etc/php.ini
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
Also, can you post the following files so we can view them?
Code: Select all
/etc/php.ini
/var/log/httpd/error_log
Thanks.