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

    • S24-W44/45, S24-W50/51/52
    • 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. Bildschirmfoto 2024-11-25 um 09.24.11.png
          Bildschirmfoto 2024-11-25 um 09.24.11.png
          558 kB
        2. Bildschirmfoto 2024-11-25 um 09.28.05.png
          Bildschirmfoto 2024-11-25 um 09.28.05.png
          563 kB
        3. history_size_7_0.diff
          10 kB
        4. image-2024-08-15-16-55-28-490.png
          image-2024-08-15-16-55-28-490.png
          37 kB
        5. image-2024-08-16-09-36-13-470.png
          image-2024-08-16-09-36-13-470.png
          21 kB
        6. image-2024-08-20-11-29-13-713.png
          image-2024-08-20-11-29-13-713.png
          74 kB
        7. image-2024-11-27-11-33-00-007.png
          image-2024-11-27-11-33-00-007.png
          82 kB
        8. image-2024-11-27-13-05-57-387.png
          image-2024-11-27-13-05-57-387.png
          141 kB
        9. image-2024-11-27-13-14-21-795.png
          image-2024-11-27-13-14-21-795.png
          317 kB
        10. image-2024-12-03-10-32-27-904.png
          image-2024-12-03-10-32-27-904.png
          29 kB
        11. image-2024-12-06-12-24-36-185.png
          image-2024-12-06-12-24-36-185.png
          47 kB
        12. maps.txt
          23 kB
        13. mem_usage_preproc-manager.png
          mem_usage_preproc-manager.png
          79 kB
        14. msedge_KqUzgQFVca.png
          msedge_KqUzgQFVca.png
          169 kB
        15. msedge_LOqIPWrYeb.png
          msedge_LOqIPWrYeb.png
          27 kB
        16. msedge_tJLHWQ1ety.png
          msedge_tJLHWQ1ety.png
          33 kB
        17. prepressor_smaps.txt
          235 kB
        18. prepressor_smaps2.txt
          235 kB
        19. preprocessing_queue.png
          preprocessing_queue.png
          36 kB
        20. screenshot-1.png
          screenshot-1.png
          2.75 MB
        21. screenshot-2.png
          screenshot-2.png
          1.01 MB
        22. screenshot-3.png
          screenshot-3.png
          372 kB
        23. screenshot-4.png
          screenshot-4.png
          55 kB
        24. screenshot-5.png
          screenshot-5.png
          8 kB
        25. screenshot-6.png
          screenshot-6.png
          87 kB
        26. screenshot-7.png
          screenshot-7.png
          49 kB
        27. screenshot-8.png
          screenshot-8.png
          101 kB
        28. screenshot-9.png
          screenshot-9.png
          42 kB
        29. smaps.txt
          231 kB
        30. utlil_preprocessing_manager_workers.png
          utlil_preprocessing_manager_workers.png
          127 kB
        31. zabbix_agent2-proc.get.txt
          214 kB
        32. zabbix_server_memory_utilisation_v5.yaml
          1 kB
        33. zabbix_server_patched_diaginfo.txt
          4 kB
        34. zabbix_server potential memory leak - memory and processes.txt
          17 kB
        35. zabbix diaginfo.txt
          5 kB
        36. zabbix pre-processor pmap.txt
          27 kB
        37. zabbix-server-pgsql_7.0.3-0.ZBX25050+ubuntu22.04_amd64.deb
          1.64 MB
        38. zabbix-server-pgsql-dbgsym_7.0.3-0.ZBX25050+ubuntu22.04_amd64.deb
          143 kB

            ifedotjevs Ilja Fedotjevs
            clontarfx@gmail.com Shane Arnold
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            11 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