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

Zabbix Proxy allocates more memory that necessary when it starts

    XMLWordPrintable

Details

    • Team A
    • Sprint 58 (Nov 2019), Sprint 59 (Dec 2019)
    • 0.5

    Description

      When zabbix_proxy starts without database and create it, that's ok. It only allocate the memory to procced with the collect data.

      On the other hand, if database exists and have, for example, 100M, zabbix_proxy allocate about 100M for each process. In a host with 2GB of RAM, with, for example, 40 pollers, the zabbix_proxy is dead by "out of memory" killer because it has allocated a lot of memory.

      If database is removed and zabbix_proxy is restarted, the daemon starts normally and allocate much less memory. A new restart on the process cause out of memory again.

      Attachments

        1. last_ps_with_database.log
          11 kB
          Alisson Ramos de Oliveira
        2. last_ps_without_database.log
          27 kB
          Alisson Ramos de Oliveira
        3. smap.txt
          164 kB
          DaneT
        4. smaps_vmware.txt
          111 kB
          DaneT
        5. valgrind_proxy_new.log
          291 kB
          Alisson Ramos de Oliveira
        6. valgrind_proxy_with.log
          825 kB
          Alisson Ramos de Oliveira
        7. zabbix_proxy_configure_options_james_cook
          0.3 kB
          James Cook
        8. zabbix_proxy_debug_log_james_cook.txt
          40 kB
          James Cook
        9. zabbix_proxy_process_listing_james_cook
          32 kB
          James Cook
        10. zabbix_proxy_smaps_james_cook.tar.gz
          1.43 MB
          James Cook
        11. zabbix_proxy.log
          6 kB
          Alisson Ramos de Oliveira
        12. Zabbix Proxy Cache Utilisation James Cook.JPG
          127 kB
          James Cook
        13. ZBX-9084-test.patch
          1 kB
          Vladislavs Sokurenko

        Issue Links

          Activity

            People

              vso Vladislavs Sokurenko
              alisson Alisson Ramos de Oliveira
              Votes:
              11 Vote for this issue
              Watchers:
              23 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: