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
    • 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. history_size_7_0.diff
          10 kB
          Vladislavs Sokurenko
        2. image-2024-08-15-16-55-28-490.png
          37 kB
          Shane Arnold
        3. image-2024-08-16-09-36-13-470.png
          21 kB
          Shane Arnold
        4. image-2024-08-20-11-29-13-713.png
          74 kB
          Shane Arnold
        5. msedge_KqUzgQFVca.png
          169 kB
          Shane Arnold
        6. msedge_LOqIPWrYeb.png
          27 kB
          Shane Arnold
        7. msedge_tJLHWQ1ety.png
          33 kB
          Shane Arnold
        8. screenshot-1.png
          2.75 MB
          Michal Kudlacz
        9. screenshot-2.png
          1.01 MB
          Michal Kudlacz
        10. screenshot-3.png
          372 kB
          Michal Kudlacz
        11. screenshot-4.png
          55 kB
          Smirnov Dmitriy
        12. screenshot-5.png
          8 kB
          Smirnov Dmitriy
        13. screenshot-6.png
          87 kB
          Smirnov Dmitriy
        14. zabbix_agent2-proc.get.txt
          214 kB
          Shane Arnold
        15. zabbix_server_memory_utilisation_v5.yaml
          1 kB
          Vladislavs Sokurenko
        16. zabbix_server_patched_diaginfo.txt
          4 kB
          Shane Arnold
        17. zabbix_server potential memory leak - memory and processes.txt
          17 kB
          Shane Arnold
        18. zabbix diaginfo.txt
          5 kB
          Shane Arnold
        19. zabbix pre-processor pmap.txt
          27 kB
          Shane Arnold
        20. zabbix-server-pgsql_7.0.3-0.ZBX25050+ubuntu22.04_amd64.deb
          1.64 MB
          Edgar Akhmetshin
        21. zabbix-server-pgsql-dbgsym_7.0.3-0.ZBX25050+ubuntu22.04_amd64.deb
          143 kB
          Edgar Akhmetshin

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