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

Preprocessor can cycle out of control / Limit preprocessor queue

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • 6.0.0rc2
    • Server (S)
    • None
    • Debian Bullseye

      Steps to reproduce:

      1. Send more trapper items than preprocessor can handle
      2. Watch the preprocessor queue grow, and the master processes CPU grow with it (expontential?)

       

      Result:

      zabbix       357 77.9  3.4 519676 137988 ?       RN   04:25   0:42 /usr/sbin/zabbix_server: preprocessing manager #1 [queued 86761, processed 26 values, idle 0.000000 sec during 5.249426 sec]
      zabbix       358  0.0  0.1 407544  4788 ?        SN   04:25   0:00 /usr/sbin/zabbix_server: preprocessing worker #1 started
      zabbix       359  0.0  0.1 407544  4788 ?        SN   04:25   0:00 /usr/sbin/zabbix_server: preprocessing worker #2 started
      zabbix       360  0.0  0.1 407544  4788 ?        SN   04:25   0:00 /usr/sbin/zabbix_server: preprocessing worker #3 started
      zabbix       361  0.0  0.1 407544  4788 ?        SN   04:25   0:00 /usr/sbin/zabbix_server: preprocessing worker #4 started
      zabbix       362  0.0  0.1 407544  4788 ?        SN   04:25   0:00 /usr/sbin/zabbix_server: preprocessing worker #5 started
      1. the queue grows, proces
      2. Processed items (per iteration) shrinks and CPU consumed by the manager increases.

      Expected:

      1. Queue length should be limited
      2. Preferably the queue should scale better

            avolodin Aleksey Volodin
            splitice Mathew
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: