Web interface lagging/slow/not repsponding

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
anthony.rabbito
Posts: 17
Joined: Tue Jan 22, 2013 11:31 am

Re: Web interface lagging/slow/not repsponding

Post by anthony.rabbito »

i've created a general dashboard to deploy to all of our clients by moving the dashlets around. that's it. i haven't modified any files within nagios to do this.
anthony.rabbito
Posts: 17
Joined: Tue Jan 22, 2013 11:31 am

Re: Web interface lagging/slow/not repsponding

Post by anthony.rabbito »

here you go
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: Web interface lagging/slow/not repsponding

Post by scottwilkerson »

This is quite odd, they should be loading quite quick..

when you say "at a snails pace" how long (in actual time measurement) is it taking to load a page? Are all pages like this?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
anthony.rabbito
Posts: 17
Joined: Tue Jan 22, 2013 11:31 am

Re: Web interface lagging/slow/not repsponding

Post by anthony.rabbito »

its sporadic. can take 1ms or 1min. it varies. i get the spinning wheels all the time.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Web interface lagging/slow/not repsponding

Post by scottwilkerson »

Can you run the following, we may be hitting a mysql connection limit

Code: Select all

echo "show processlist;"|mysql -pnagiosxi|wc -l
cat /etc/my.cnf|grep max_connections
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
anthony.rabbito
Posts: 17
Joined: Tue Jan 22, 2013 11:31 am

Re: Web interface lagging/slow/not repsponding

Post by anthony.rabbito »

[root@nagiosxi libexec]# echo "show processlist;"|mysql -pnagiosxi|wc -l
36
[root@nagiosxi libexec]# cat /etc/my.cnf|grep max_connections
[root@nagiosxi libexec]#
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Web interface lagging/slow/not repsponding

Post by lmiltchev »

Try the following - open the "my.cnf" file in a text editor:

vi /etc/my.cnf

and add the following line under "user=mysql":
user=mysql
set-variable=max_connections=500
interactive_timeout=60
Restart mysql:

Code: Select all

service mysqld restart
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
anthony.rabbito
Posts: 17
Joined: Tue Jan 22, 2013 11:31 am

Re: Web interface lagging/slow/not repsponding

Post by anthony.rabbito »

i added the lines. i'll see how this works.

Code: Select all

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
set-variable=max_connections=500
interactive_timeout=60
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Web interface lagging/slow/not repsponding

Post by slansing »

Sounds good, we will wait for an update.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Web interface lagging/slow/not repsponding

Post by lmiltchev »

Let us know if there is any improvement. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked