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

Possible memory leak in zabbix_server process

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Major Major
    • 7.0.1rc1, 7.2.0alpha1
    • 7.0.0
    • Proxy (P), Server (S)
    • None
    • Ubuntu 22.04, Zabbix 7.0.0 from zabbix repo
    • S24-W26/27
    • 1

      Hello!

      We have been using Zabbix for the past 1.5 years where memory usage had been constant.  On 06.07. we have upgraded to Zabbix 7 and we also migrated our Postgres to version 16.

      After the update the configuration of Zabbix was retained, only modifications were to enable the async pollers. Templates were updated to the lastest version (mostly Linux by agent, Mikrotik by SNMP are used).

      On the 19th we have noticed that zabbix was consuming high amounts of memory and was restarted, which made it return to normal levels.

      Observing memory of the zabbix_server master process it is obvious it is constantly increasing. The other zabbix processes are non-issue only the master process seem to own this memory as "private".

       

      Zabbix info

      No HA, no proxies, DB and zabbix_server co-located on same server with 24gb total memory.

      Result:

      zabbix_server master process consumes more and more memory.

      Expected:
      zabbix_server master process to NOT consume more and more memory,

        1. After restart usage returns normal.png
          After restart usage returns normal.png
          50 kB
        2. image-2024-06-24-12-05-32-601.png
          image-2024-06-24-12-05-32-601.png
          65 kB
        3. image-2024-06-24-12-07-19-805.png
          image-2024-06-24-12-07-19-805.png
          155 kB
        4. image-2024-06-24-12-08-41-015.png
          image-2024-06-24-12-08-41-015.png
          6 kB
        5. image-2024-06-24-12-11-23-086.png
          image-2024-06-24-12-11-23-086.png
          12 kB
        6. image-2024-06-24-12-11-42-538.png
          image-2024-06-24-12-11-42-538.png
          12 kB
        7. image-2024-06-24-14-52-32-875.png
          image-2024-06-24-14-52-32-875.png
          170 kB
        8. image-2024-06-24-18-16-25-649.png
          image-2024-06-24-18-16-25-649.png
          33 kB
        9. image-2024-06-24-18-16-47-579.png
          image-2024-06-24-18-16-47-579.png
          32 kB
        10. image-2024-06-24-18-18-52-053.png
          image-2024-06-24-18-18-52-053.png
          67 kB
        11. image-2024-06-26-16-00-43-753.png
          image-2024-06-26-16-00-43-753.png
          39 kB
        12. image-2024-06-26-16-01-35-952.png
          image-2024-06-26-16-01-35-952.png
          25 kB
        13. Proxy-compare-2.jpg
          Proxy-compare-2.jpg
          226 kB
        14. Proxy-Group.jpg
          Proxy-Group.jpg
          172 kB
        15. PRX-03.jpg
          PRX-03.jpg
          210 kB
        16. Prx-03-diaginfo-1.jpg
          Prx-03-diaginfo-1.jpg
          255 kB
        17. Screenshot 2024-07-04 at 16.40.53.png
          Screenshot 2024-07-04 at 16.40.53.png
          404 kB
        18. Screenshot 2024-07-04 at 16.53.19.png
          Screenshot 2024-07-04 at 16.53.19.png
          430 kB

            vso Vladislavs Sokurenko
            kriszdev Gáncs Krisztián
            Team A
            Votes:
            10 Vote for this issue
            Watchers:
            17 Start watching this issue

              Created:
              Updated:
              Resolved:

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