Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-5269

periodically in the logs: query failed: [1213] Deadlock found when trying to get lock; try restarting transaction

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.0.1
    • Server (S)

      There is a periodically (once a few minutes) error message in the zabbix logs:

      19155:20120703:220000.143 [Z3005] query failed: [1213] Deadlock found when trying to get lock; try restarting transaction [update items set name='disk: drbd101 iops',key_='disk.iops[drbd101]',type=15,value_type=3,data_type=0,delay=60,delay_flex='',history=3,trends=365,trapper_hosts='',units='iops',multiplier=0,delta=0,formula='1',logtimefmt='',valuemapid=null,params='last("disk[reads,drbd101]")+last("disk[writes,drbd101]")',ipmi_sensor='',snmp_community='',snmp_oid='',port='',snmpv3_securityname='',snmpv3_securitylevel=0,snmpv3_authpassphrase='',snmpv3_privpassphrase='',authtype=0,username='',password='',publickey='',privatekey='',description='',interfaceid=null,flags=4 where itemid=346477;
      update item_discovery set key_='disk.iops[

      {#DRBD_PRIMARY}

      ]',lastcheck=1341345599,ts_delete=0 where itemid=346477 and parent_itemid=344945;
      [...]

      Full error message in deadlock.log attached file.

      Feel free to ask for more detailed info from our system.

        1. deadlock.log
          70 kB
          Robert Jerzak
        2. Screen shot 2012-07-03 at 22.02.03 .png
          73 kB
          Robert Jerzak
        3. Screen shot 2012-07-03 at 22.02.26 .png
          69 kB
          Robert Jerzak
        4. Screen shot 2012-07-03 at 22.02.37 .png
          68 kB
          Robert Jerzak
        5. Screen shot 2012-07-03 at 22.03.01 .png
          62 kB
          Robert Jerzak
        6. Screen shot 2012-07-03 at 22.03.17 .png
          50 kB
          Robert Jerzak

            Unassigned Unassigned
            rob Robert Jerzak
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: