History syncer is blocked by configuration syncer due to reindex

XMLWordPrintable

    • Support backlog
    • 1

      In the log it is possible to see following lines, during this time configuration cache is completely locked and history syncer gets blocked, however changes are really small, 0 or 4 or 8.

      318632:20260305:080438.901 zbx_dc_sync_configuration() reindex    : 30.455116 sec 0 bytes (0).
      318632:20260305:080604.017 zbx_dc_sync_configuration() reindex    : 30.075741 sec 192 bytes (4).
      318632:20260305:080730.692 zbx_dc_sync_configuration() reindex    : 30.096554 sec 0 bytes (0).
      318632:20260305:080855.850 zbx_dc_sync_configuration() reindex    : 30.574335 sec 440 bytes (8).
      318632:20260305:081021.913 zbx_dc_sync_configuration() reindex    : 31.374478 sec 48 bytes (1).
      318632:20260305:081147.336 zbx_dc_sync_configuration() reindex    : 30.221875 sec 96 bytes (2).
      

      Expected:
      Iterate only over changed items for reindex instead of iterating over all functions, triggers as there can be 30 millions of functions as this case or more.

      Workaround:
      make cache update frequency higher for now

            Assignee:
            Zabbix Development Team
            Reporter:
            Vladislavs Sokurenko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: