MUCH better
Guys,
I've been fighting with Zabbix being very slow, so slow that it might take 30-60 seconds to refresh a screen, for several months now since I added some new switches. My load average was high but the web server was working fine. I don't know beans about Mysql but I suspected that's where the problem was. I found on this thread a posting of a sample Mysql config file and it made all the difference in the world! I had the syntax wrong on a couple of lines like the innoDB_buffer_pool_size so it was using the default which is way too small for my system. I have 4 gigs of ram so I changed it to 2gigs and it made an unbelievable difference! I'll attach a screenshot of my cpu utilization on my Zabbix server, now I can have several Zabbix screens open and it doesn't change the performance at all. Several other people are also using it now that it's not painful to use.
So, when you guys helped Pierre-Hoffman it also benefited me, thanks for your help. Seeing his my.cnf helped a lot.
If anybody else is having the same problem, run the mysqltuner script and tune the my.cnf file, it made all the difference in the world.
Thanks,
Kerry
Guys,
I've been fighting with Zabbix being very slow, so slow that it might take 30-60 seconds to refresh a screen, for several months now since I added some new switches. My load average was high but the web server was working fine. I don't know beans about Mysql but I suspected that's where the problem was. I found on this thread a posting of a sample Mysql config file and it made all the difference in the world! I had the syntax wrong on a couple of lines like the innoDB_buffer_pool_size so it was using the default which is way too small for my system. I have 4 gigs of ram so I changed it to 2gigs and it made an unbelievable difference! I'll attach a screenshot of my cpu utilization on my Zabbix server, now I can have several Zabbix screens open and it doesn't change the performance at all. Several other people are also using it now that it's not painful to use.
So, when you guys helped Pierre-Hoffman it also benefited me, thanks for your help. Seeing his my.cnf helped a lot.
If anybody else is having the same problem, run the mysqltuner script and tune the my.cnf file, it made all the difference in the world.
Thanks,
Kerry



Comment