Hi.
I am running Zabbix 5.0.5 and MariaDB 10.3.25-MariaDB-0+deb10u1-log
Recently, problems do not show in the 'dashboard' page, nor do they show in the "problems by severity" element of the homepage.
Looking at the server, when these pages are requested, the CPU load used by the mysqld process is high - often 150-200% resource demand. This does not occur on any other zabbix frontend pages.
"Show processlist" does not reveal any queries taking time - in fact, usually no queries at all.
I have set mysql to log all queries, and I can see that ROLLBACK statements occur quite often. Thinking that this might be a temporary problem, I left this a few days, rebooted, but they still occur.
These are some of the queries that occur before the rollback statements:
update graph_discovery set lastcheck=1605312004 where graphid in (1814,1815,1816,1817)
65 Query insert into trends_uint (itemid,clock,num,value_min,value_avg,value_max) values (36198,1605308400,60,0,0,0),(32658,1605308400,60,1 811939328,1811939328,1811939328)
65 Query commit
65 Query begin
65 Query commit
60 Query begin
60 Query insert into history_uint (itemid,clock,ns,value) values (36018,1605312018,302064425,6)
60 Query commit
60 Query begin
60 Query insert into trends_uint (itemid,clock,num,value_min,value_avg,value_max) values (36018,1605308400,56,6,6,6)
60 Query commit
60 Query begin
60 Query commit
60 Query begin
60 Query insert into history_uint (itemid,clock,ns,value) values (32238,1605312018,311272907,0)
60 Query commit
60 Query begin
60 Query insert into trends_uint (itemid,clock,num,value_min,value_avg,value_max) values (32238,1605308400,60,0,0,0)
60 Query commit
60 Query begin
60 Query commit
9639 Query ROLLBACK
I am running Zabbix 5.0.5 and MariaDB 10.3.25-MariaDB-0+deb10u1-log
Recently, problems do not show in the 'dashboard' page, nor do they show in the "problems by severity" element of the homepage.
Looking at the server, when these pages are requested, the CPU load used by the mysqld process is high - often 150-200% resource demand. This does not occur on any other zabbix frontend pages.
"Show processlist" does not reveal any queries taking time - in fact, usually no queries at all.
I have set mysql to log all queries, and I can see that ROLLBACK statements occur quite often. Thinking that this might be a temporary problem, I left this a few days, rebooted, but they still occur.
These are some of the queries that occur before the rollback statements:
update graph_discovery set lastcheck=1605312004 where graphid in (1814,1815,1816,1817)
65 Query insert into trends_uint (itemid,clock,num,value_min,value_avg,value_max) values (36198,1605308400,60,0,0,0),(32658,1605308400,60,1 811939328,1811939328,1811939328)
65 Query commit
65 Query begin
65 Query commit
60 Query begin
60 Query insert into history_uint (itemid,clock,ns,value) values (36018,1605312018,302064425,6)
60 Query commit
60 Query begin
60 Query insert into trends_uint (itemid,clock,num,value_min,value_avg,value_max) values (36018,1605308400,56,6,6,6)
60 Query commit
60 Query begin
60 Query commit
60 Query begin
60 Query insert into history_uint (itemid,clock,ns,value) values (32238,1605312018,311272907,0)
60 Query commit
60 Query begin
60 Query insert into trends_uint (itemid,clock,num,value_min,value_avg,value_max) values (32238,1605308400,60,0,0,0)
60 Query commit
60 Query begin
60 Query commit
9639 Query ROLLBACK
Comment