Web interface lagging/slow/not repsponding
-
anthony.rabbito
- Posts: 17
- Joined: Tue Jan 22, 2013 11:31 am
Re: Web interface lagging/slow/not repsponding
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
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
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?
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?
-
anthony.rabbito
- Posts: 17
- Joined: Tue Jan 22, 2013 11:31 am
Re: Web interface lagging/slow/not repsponding
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
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-
anthony.rabbito
- Posts: 17
- Joined: Tue Jan 22, 2013 11:31 am
Re: Web interface lagging/slow/not repsponding
[root@nagiosxi libexec]# echo "show processlist;"|mysql -pnagiosxi|wc -l
36
[root@nagiosxi libexec]# cat /etc/my.cnf|grep max_connections
[root@nagiosxi libexec]#
36
[root@nagiosxi libexec]# cat /etc/my.cnf|grep max_connections
[root@nagiosxi libexec]#
Re: Web interface lagging/slow/not repsponding
Try the following - open the "my.cnf" file in a text editor:
vi /etc/my.cnf
and add the following line under "user=mysql":
Let us know if this helped.
vi /etc/my.cnf
and add the following line under "user=mysql":
Restart mysql:user=mysql
set-variable=max_connections=500
interactive_timeout=60
Code: Select all
service mysqld restartBe 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
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
Sounds good, we will wait for an update.
Re: Web interface lagging/slow/not repsponding
Let us know if there is any improvement. Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!