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

Possible deadlocks while updating host_inventory table

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 2.2.4rc1, 2.3.0
    • 2.2.3
    • Server (S)
    • None

      hosts are not processed by hostid correctly.

      27612:20140422:164926.112 query [txnlev:1] [update host_inventory set alias='1.75 Ksps' where hostid=10114;
      update host_inventory set name='localhost' where hostid=10114;
      update host_inventory set type='3.45 GB' where hostid=10114;
      update host_inventory set poc_1_email='3.86 GB' where hostid=10114;
      update host_inventory set os_short='0 %' where hostid=10117;
      update host_inventory set os='Linux localhost 3.8.10-gentoo #1 SMP Sun Apr 28 22:38:15 YEKT 20' where hostid=10117;
      update host_inventory set alias='1.71 Ksps' where hostid=10115;
      update host_inventory set os_full='1.31 %' where hostid=10115;
      update host_inventory set name='localhost' where hostid=10115;
      update host_inventory set type_full='149119558' where hostid=10115;
      update host_inventory set type='3.45 GB' where hostid=10115;
      update host_inventory set poc_1_email='3.86 GB' where hostid=10115;
      update host_inventory set alias='1.7 Ksps' where hostid=10116;
      update host_inventory set os_full='1.31 %' where hostid=10116;
      update host_inventory set name='localhost' where hostid=10116;
      update host_inventory set type_full='149119558' where hostid=10116;
      update host_inventory set type='3.45 GB' where hostid=10116;
      update host_inventory set poc_1_email='3.86 GB' where hostid=10116;
      update host_inventory set alias='1.76 Ksps' where hostid=10118;
      update host_inventory set name='localhost' where hostid=10118;
      update host_inventory set type='3.45 GB' where hostid=10118;
      update host_inventory set poc_1_email='3.86 GB' where hostid=10118;
      update host_inventory set os_short='0 %' where hostid=10119;
      update host_inventory set os='Linux localhost 3.8.10-gentoo #1 SMP Sun Apr 28 22:38:15 YEKT 20' where hostid=10119;
      update host_inventory set os_short='0 %' where hostid=10120;
      update host_inventory set os_full='1.31 %' where hostid=10120;
      update host_inventory set os='Linux localhost 3.8.10-gentoo #1 SMP Sun Apr 28 22:38:15 YEKT 20' where hostid=10120;
      update host_inventory set type_full='149119558' where hostid=10120;
      update host_inventory set type='3.45 GB' where hostid=10120;
      ]

            Unassigned Unassigned
            dotneft Alexey Pustovalov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: