Page 2 of 2
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 3:11 pm
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.
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 3:15 pm
by anthony.rabbito
here you go
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:12 pm
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?
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:29 pm
by anthony.rabbito
its sporadic. can take 1ms or 1min. it varies. i get the spinning wheels all the time.
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:34 pm
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
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:36 pm
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]#
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:50 pm
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:
Let us know if this helped.
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:56 pm
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
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:57 pm
by slansing
Sounds good, we will wait for an update.
Re: Web interface lagging/slow/not repsponding
Posted: Wed Feb 13, 2013 4:59 pm
by lmiltchev
Let us know if there is any improvement. Thanks!