Ever since we upgraded to Zabbix 2.2 the MySQL back-end for Zabbix load increased 10x. We upgraded from 1.8 -> 2.2.
I install from source using "./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-jabber"
If I enable MySQL logging I see Zabbix is constantly accessing SQL with no stop in sight, sample log here: http://pastebin.com/raw.php?i=CcH0ErR0
I don't even use escalations.
Our zabbix box is ver modest and only has an "new value per second" of 4.09. See status information here: http://i.imgur.com/byQW0gN.png
The MySQL is a dedicated machine just for Zabbix with a i3-3220 CPU @ 3.30GHz and 4GB of RAM. I have done the usual tweaks such as: "innodb_file_per_table = 1", "innodb_buffer_pool_size = 3G".
It is running on SSDs but the ib_logfile data files had to be put on a spindle disk as it was writing close to 30GB of data a day. We are a small outfit, havign to explain to my boss we needed a new machine just for Zabbix MySQL raised questions.
I understand some major changes were made such as removing the last() field from each item, meaning an extra lookup was required but I have found the SQL requirements for Zabbix are astronomical in comparison to a few months ago.
I have tried dumping all data, starting fresh and only copying templates over. I have tried using MariaDB instead of MySQL with no effect.
MySQL queries per second from 1.8 -> 2.2 went from an average of <15 to >70.
Has anyone else got this issue? Some pointers? Config options I am perhaps missing?
Thanks.
What can I do to tame Zabbix?
I install from source using "./configure --enable-server --with-mysql --with-net-snmp --with-libcurl --with-jabber"
If I enable MySQL logging I see Zabbix is constantly accessing SQL with no stop in sight, sample log here: http://pastebin.com/raw.php?i=CcH0ErR0
I don't even use escalations.
Our zabbix box is ver modest and only has an "new value per second" of 4.09. See status information here: http://i.imgur.com/byQW0gN.png
The MySQL is a dedicated machine just for Zabbix with a i3-3220 CPU @ 3.30GHz and 4GB of RAM. I have done the usual tweaks such as: "innodb_file_per_table = 1", "innodb_buffer_pool_size = 3G".
It is running on SSDs but the ib_logfile data files had to be put on a spindle disk as it was writing close to 30GB of data a day. We are a small outfit, havign to explain to my boss we needed a new machine just for Zabbix MySQL raised questions.
I understand some major changes were made such as removing the last() field from each item, meaning an extra lookup was required but I have found the SQL requirements for Zabbix are astronomical in comparison to a few months ago.
I have tried dumping all data, starting fresh and only copying templates over. I have tried using MariaDB instead of MySQL with no effect.
MySQL queries per second from 1.8 -> 2.2 went from an average of <15 to >70.
Has anyone else got this issue? Some pointers? Config options I am perhaps missing?
Thanks.
What can I do to tame Zabbix?



Comment