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

Zabbix Agent 2 (7.0.20) spikes to 100% CPU and stays there

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Critical Critical
    • 7.0.21, 7.4.5, 8.0.0alpha2 (master)
    • 7.0.20, 7.4.4
    • None
    • None
    • 0.125

      Steps to Reproduce

      Upgrade Zabbix Agent 2 from 7.0.19 to 7.0.20 using APT.
      Keep the previous configuration (/etc/zabbix/zabbix_agent2.conf) unchanged.
      Observe the agent for a few minutes after service restart.

      Expected Result
      Agent CPU usage remains low and stable (sub-percent to a few percent during checks).

      Actual Result
      Within a few minutes, zabbix_agent2 reaches ~100% CPU and remains there indefinitely.

      Evidence
      Process snapshot:

      ps aux | grep zabbix_agent
      zabbix  2052826 99.3 0.1 2142772 54332 ? Ssl 05:53 97:39 /usr/sbin/zabbix_agent2 -c /etc/zabbix/zabbix_agent2.conf
      

        1. debug.log
          4 kB
        2. image-2025-11-04-08-38-17-869.png
          image-2025-11-04-08-38-17-869.png
          213 kB
        3. image-2025-11-04-10-29-01-639.png
          image-2025-11-04-10-29-01-639.png
          361 kB
        4. screenshot-1.png
          screenshot-1.png
          241 kB
        5. screenshot-2.png
          screenshot-2.png
          227 kB
        6. strace_zabbix
          70 kB

            esneiders Eriks Sneiders
            TaKeN Marek Krolikowski
            Team INT
            Votes:
            12 Vote for this issue
            Watchers:
            23 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 6h
                6h