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

System uses virtual memory instead of available memory for preprocessing

    • Prev.Sprint, S24-W44/45, S24-W50/51/52/1
    • 0.125

      Steps to reproduce:

      1. Start Zabbix Server with default StartPreProcessor count (3)
      2. Monitor memory usage of Zabbix Server over time
      3. Note that server begins to use virtual memory instead of physical memory, behaving very much like a memory leak.
      4. Perform a shutdown of zabbix_server and watch the virtual memory usage go down.
      5. Watch running processes using a tool like top and note that the process spending the most time terminating is the preprocessing manager.

      Result:

      Expected:

      Preprocessing manager to not use (and continue to increase usage) of virtual memory when physical memory is available.

        1. 278235_Process_details1.txt
          43 kB
        2. 278237_Process_details.txt
          46 kB
        3. 7_0_trim_hourly.diff
          0.5 kB
        4. Bildschirmfoto 2024-11-25 um 09.24.11.png
          Bildschirmfoto 2024-11-25 um 09.24.11.png
          558 kB
        5. Bildschirmfoto 2024-11-25 um 09.28.05.png
          Bildschirmfoto 2024-11-25 um 09.28.05.png
          563 kB
        6. history_size_7_0.diff
          10 kB
        7. image-2024-08-15-16-55-28-490.png
          image-2024-08-15-16-55-28-490.png
          37 kB
        8. image-2024-08-16-09-36-13-470.png
          image-2024-08-16-09-36-13-470.png
          21 kB
        9. image-2024-08-20-11-29-13-713.png
          image-2024-08-20-11-29-13-713.png
          74 kB
        10. image-2024-11-27-11-33-00-007.png
          image-2024-11-27-11-33-00-007.png
          82 kB
        11. image-2024-11-27-13-05-57-387.png
          image-2024-11-27-13-05-57-387.png
          141 kB
        12. image-2024-11-27-13-14-21-795.png
          image-2024-11-27-13-14-21-795.png
          317 kB
        13. image-2024-12-03-10-32-27-904.png
          image-2024-12-03-10-32-27-904.png
          29 kB
        14. image-2024-12-06-12-24-36-185.png
          image-2024-12-06-12-24-36-185.png
          47 kB
        15. image-2025-01-29-20-43-31-429.png
          image-2025-01-29-20-43-31-429.png
          71 kB
        16. image-2025-01-31-18-19-14-528.png
          image-2025-01-31-18-19-14-528.png
          99 kB
        17. image-2025-02-04-13-11-01-818.png
          image-2025-02-04-13-11-01-818.png
          82 kB
        18. image-2025-02-07-15-18-50-416.png
          image-2025-02-07-15-18-50-416.png
          36 kB
        19. image-2025-02-07-15-21-19-041.png
          image-2025-02-07-15-21-19-041.png
          36 kB
        20. link_tc_malloc_7_0_v2.diff
          3 kB
        21. link_tc_malloc_7_0.diff
          1 kB
        22. maps.txt
          23 kB
        23. mem_usage_preproc-manager.png
          mem_usage_preproc-manager.png
          79 kB
        24. mem-utilization.png
          mem-utilization.png
          190 kB
        25. msedge_KqUzgQFVca.png
          msedge_KqUzgQFVca.png
          169 kB
        26. msedge_LOqIPWrYeb.png
          msedge_LOqIPWrYeb.png
          27 kB
        27. msedge_tJLHWQ1ety.png
          msedge_tJLHWQ1ety.png
          33 kB
        28. prepressor_smaps.txt
          235 kB
        29. prepressor_smaps2.txt
          235 kB
        30. preprocessing_queue.png
          preprocessing_queue.png
          36 kB
        31. screenshot-1.png
          screenshot-1.png
          2.75 MB
        32. screenshot-2.png
          screenshot-2.png
          1.01 MB
        33. screenshot-3.png
          screenshot-3.png
          372 kB
        34. screenshot-4.png
          screenshot-4.png
          55 kB
        35. screenshot-5.png
          screenshot-5.png
          8 kB
        36. screenshot-6.png
          screenshot-6.png
          87 kB
        37. screenshot-7.png
          screenshot-7.png
          49 kB
        38. screenshot-8.png
          screenshot-8.png
          101 kB
        39. screenshot-9.png
          screenshot-9.png
          42 kB
        40. smaps.txt
          231 kB
        41. utlil_preprocessing_manager_workers.png
          utlil_preprocessing_manager_workers.png
          127 kB
        42. zabbix_agent2-proc.get.txt
          214 kB
        43. zabbix_server_memory_utilisation_v5.yaml
          1 kB
        44. zabbix_server_patched_diaginfo.txt
          4 kB
        45. zabbix_server potential memory leak - memory and processes.txt
          17 kB
        46. zabbix diaginfo.txt
          5 kB
        47. zabbix pre-processor pmap.txt
          27 kB
        48. zabbix-server-pgsql_7.0.3-0.ZBX25050+ubuntu22.04_amd64.deb
          1.64 MB
        49. zabbix-server-pgsql-dbgsym_7.0.3-0.ZBX25050+ubuntu22.04_amd64.deb
          143 kB

            mbuz Maksym Buz
            clontarfx@gmail.com Shane Arnold
            Team B
            Votes:
            3 Vote for this issue
            Watchers:
            14 Start watching this issue

              Created:
              Updated:

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