Slow Web UI XI
Slow Web UI XI
hi,
seem to he having an issue w/ the web ui really lagging. this seems to happen when I have multiple windows open and especially if I try to open the main hostgroup summary.
applying a config is fast and without warnings or errors.
I checked the processlist from another post and here is my output.
[root@nagiosxi ~]# echo "show processlist;"|mysql -pnagiosxi|wc -l
76
system profile is attached.
System:
Nagios XI Version : 5.4.13
nagiosxi.na.hasbro.com 3.10.0-693.11.6.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Gnome is not installed
seem to he having an issue w/ the web ui really lagging. this seems to happen when I have multiple windows open and especially if I try to open the main hostgroup summary.
applying a config is fast and without warnings or errors.
I checked the processlist from another post and here is my output.
[root@nagiosxi ~]# echo "show processlist;"|mysql -pnagiosxi|wc -l
76
system profile is attached.
System:
Nagios XI Version : 5.4.13
nagiosxi.na.hasbro.com 3.10.0-693.11.6.el7.x86_64 x86_64
Red Hat Enterprise Linux Server release 7.4 (Maipo)
Gnome is not installed
You do not have the required permissions to view the files attached to this post.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Slow Web UI XI
You have over 1500 nsca processes running, I don't know why but that seems like an issue.
Lets start by running
Lets start by running
Code: Select all
service nsca stop
killall -9 nsca
service nsca startRe: Slow Web UI XI
weird...
[root@nagiosxi ~]# service nsca stop
Redirecting to /bin/systemctl stop nsca.service
Failed to stop nsca.service: Unit nsca.service not loaded.
[root@nagiosxi ~]# service nsca status
Redirecting to /bin/systemctl status nsca.service
Unit nsca.service could not be found.
[root@nagiosxi ~]# service nsca stop
Redirecting to /bin/systemctl stop nsca.service
Failed to stop nsca.service: Unit nsca.service not loaded.
[root@nagiosxi ~]# service nsca status
Redirecting to /bin/systemctl status nsca.service
Unit nsca.service could not be found.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Slow Web UI XI
your
showed 1500+ of these
Sorry I forgot those run under xinetd
so
Code: Select all
ps -aefCode: Select all
nsca -c /usr/local/nagios/etc/nsca.cfg --inetdso
Code: Select all
service xinetd stop
killall -9 nsca
service xinetd startRe: Slow Web UI XI
so after that it seems it hung itself up. I rebooted it.
nagios had to be started manually
mariadb needed to be repaired, there were lots of fixes happening on the repair.
ndo2db will start then stop, i turned on debugging and tried starting but nothing is written to the debug log, I specified 1 and 2 for very detailed.
nagios had to be started manually
mariadb needed to be repaired, there were lots of fixes happening on the repair.
ndo2db will start then stop, i turned on debugging and tried starting but nothing is written to the debug log, I specified 1 and 2 for very detailed.
Re: Slow Web UI XI
i just fixed that by removing the lock and sock files for ndo2db
I guess we are back to the original question
I guess we are back to the original question
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Slow Web UI XI
So after all that fixing the UI is still lagging?
Re: Slow Web UI XI
yes, pretty bad. maybe 20 seconds to open things up.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Slow Web UI XI
@blariv, Are you using an external URL to access the web interface? If you do you need to go to the Admin menu, then System Settings and fill out the external URL field.
If your server is using FQDN, make sure to add a new entry in /etc/hosts.
Have you looked into implementing a RAM disk? It may significantly boost the performance.
https://assets.nagios.com/downloads/nag ... giosXI.pdf
If your server is using FQDN, make sure to add a new entry in /etc/hosts.
Have you looked into implementing a RAM disk? It may significantly boost the performance.
https://assets.nagios.com/downloads/nag ... giosXI.pdf
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Slow Web UI XI
I am not using an external URL, this is all internal to us. I also put the fqdn in the hosts file.
this is a pretty high end server on all flash storage not sure how a ramdisk would help me out in that case.
this is a pretty high end server on all flash storage not sure how a ramdisk would help me out in that case.