Ad Widget

Collapse

[Z3005] query failed: [1205] Lock wait timeout exceeded

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • talishka
    Junior Member
    • Apr 2016
    • 10

    #1

    [Z3005] query failed: [1205] Lock wait timeout exceeded

    Hi!

    I'm using zabbix 4.2.0, everything is working nice but one or two times a day i have this weird behaviour where i get a bunch of fake alerts and my graph stops working for 1 or 2 minutes.. When i see the zabbix server log i found this:

    25782:20190704:161644.914 [Z3005] query failed: [1205] Lock wait timeout exceeded; try restarting transaction [insert into history_uint (itemid,clock,ns,value) values (69490,1562266740,365442925,68692),(69441,15622667 41,99233189,15),(69481,1562266741,193871405,909100 22),(69541,1562266741,220853006,0),(69471,15622667 41,246910764,734),(69491,1562266741,281509323,3),( 69371,1562266741,407355555,210555759),(69451,15622 66741,423703316,13788543),(69461,1562266741,429593 146,1),(69542,1562266742,394735057,1),(69492,15622 66742,452295072,306),(69462,1562266742,455345924,2 1),(69362,1562266742,458789465,61),(69442,15622667 42,563395062,229243),(69472,1562266742,563422355,1 05221222),(69482,1562266742,567675816,4),(69452,15 62266742,621660108,0),(69544,1562266744,588840311, 0),(80823,1562266803,396600863,0),(77797,156226683 7,21397672,0),(39636,1562266837,21407304,151891482 2),(76927,1562266837,21700891,0),(78397,1562266837 ,21783228,274702485922),(77107,1562266837,21819105 ,8135134961),(76357,1562266837,21904394,2623492735 5),(76027,1562266837,22016871,1838634584656),(8424 7,1562266837,22494745,0),(78187,1562266837,2266808 0,0),(23437,1562266837,22833649,959),(75937,156226 6837,23144370,0),(68617,1562266837,23173046,255),( 79447,1562266837,23182108,46215326843),(82087,1562 266837,23198720,142050086927),(75997,1562266837,23 257331,15545392991133),(31957,1562266837,23268603, 1),(71137,1562266837,23465803,1),(87367,1562266837 ,23489413,296708435752),(82717,1562266837,23797313 ,0),(81637,1562266837,23810564,24460824),(78007,15 62266837,24073483,9237525564048),(31597,1562266837 ,24139839,1),(71437,1562266837,24196908,1),(79357, 15622668
    37,24268501,7004),(38437,1562266837,24309987,1),(8 0527,1562266837,24613954,0),(76087,1562266837,2479 7049,158339491),(78307,1562266837,25057913,1839712 806798),(43507,1562266837,25074933,0),.. and a few more lines.

    I found browsin the internet thah increasing the innodb timeout in my.cnf fixes this issue but it didn“t. My db size is 200GB.

    innodb_lock_wait_timeout=500

    Any ideas?

    Thanks!
  • talishka
    Junior Member
    • Apr 2016
    • 10

    #2
    Nothing? Nobody? Am i the only mortal having this issue?

    Comment

    Working...