Dear All,
I am using Zabbix 2.0.9 with Mysql DB (Version - 5.6.19).
I am trying to add new triggers in existing linux template which has too many hosts tagged and getting below error :
Error in query [INSERT INTO functions (itemid,triggerid,function,parameter,functionid) VALUES ('200200000743538','200200008794039','avg','120',' 200200009111515')] [Deadlock found when trying to get lock; try restarting transaction]
Cannot implode expression "{<HOSTNAME>:vfs.dev.read[,ops].avg(120)}>3000". SQL statement execution has failed "INSERT INTO functions (itemid,triggerid,function,parameter,functionid) VALUES ('200200000743538','200200008794039','avg','120',' 200200009111515')".
Now days we are facing this problem frequently. In past when we used to try to insert this task couple of time then it was able to execute query but now it is continuously throwing deadlock error. Please suggest how to fix this issue as it will be very difficult for us to manage if it wont work.
I am using Zabbix 2.0.9 with Mysql DB (Version - 5.6.19).
I am trying to add new triggers in existing linux template which has too many hosts tagged and getting below error :
Error in query [INSERT INTO functions (itemid,triggerid,function,parameter,functionid) VALUES ('200200000743538','200200008794039','avg','120',' 200200009111515')] [Deadlock found when trying to get lock; try restarting transaction]
Cannot implode expression "{<HOSTNAME>:vfs.dev.read[,ops].avg(120)}>3000". SQL statement execution has failed "INSERT INTO functions (itemid,triggerid,function,parameter,functionid) VALUES ('200200000743538','200200008794039','avg','120',' 200200009111515')".
Now days we are facing this problem frequently. In past when we used to try to insert this task couple of time then it was able to execute query but now it is continuously throwing deadlock error. Please suggest how to fix this issue as it will be very difficult for us to manage if it wont work.
Comment