Hello,
We are experiencing extremely slow performance with our Zabbix 1.6.1 instance, the dashboard takes 10-20 seconds to load. The database server is completely CPU bound, and doing 40-80K context switches per second.
Looking at "show innodb status" shows that every insert, delete, or update locks the whole table and that many many threads are sleeping in the InnoDB queue. My reading of the MySQL docs is that tables will only be locked if an explicit LOCK TABLE is issued, but I see no such thing in the code, and, inserts continue to lock the table even if I revoke LOCK TABLES from the Zabbix user.
I'm sure I am missing something obvious, but can't figure out what it is.
Thanks,
Lee
We are experiencing extremely slow performance with our Zabbix 1.6.1 instance, the dashboard takes 10-20 seconds to load. The database server is completely CPU bound, and doing 40-80K context switches per second.
Looking at "show innodb status" shows that every insert, delete, or update locks the whole table and that many many threads are sleeping in the InnoDB queue. My reading of the MySQL docs is that tables will only be locked if an explicit LOCK TABLE is issued, but I see no such thing in the code, and, inserts continue to lock the table even if I revoke LOCK TABLES from the Zabbix user.
I'm sure I am missing something obvious, but can't figure out what it is.
Thanks,
Lee
Comment