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

XMLWordPrintable

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

            adancis Arturs Dancis
            clontarfx@gmail.com Shane Arnold
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            13 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