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

Memory leak when hosts are no longer discovered and get disabled

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Trivial Trivial
    • None
    • None
    • Server (S)
    • None

      ==1402000== 256 bytes in 1 blocks are definitely lost in loss record 1,150 of 1,241
      ==1402000==    at 0x4885118: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-arm64-linux.so)
      ==1402000==    by 0x5F24B7: zbx_malloc2 (misc.c:151)
      ==1402000==    by 0x4CE4DF: zbx_default_mem_malloc_func (algodefs.c:179)
      ==1402000==    by 0x4D6B87: __vector_uint64_ensure_free_space (vector.c:23)
      ==1402000==    by 0x4D6D63: zbx_vector_uint64_append (vector.c:23)
      ==1402000==    by 0x366097: lld_hosts_remove (lld_host.c:4646)
      ==1402000==    by 0x36A4A3: lld_update_hosts (lld_host.c:5923)
      ==1402000==    by 0x352637: lld_process_discovery_rule (lld.c:1218)
      ==1402000==    by 0x34CA1B: lld_process_task (lld_worker.c:87)
      ==1402000==    by 0x34CFF3: lld_worker_thread (lld_worker.c:242)
      ==1402000==    by 0x49DC8F: zbx_thread_start (threads.c:124)
      ==1402000==    by 0x1C579B: server_startup (server.c:1841)

      Notice that dis_hostids vector is missing destroy

            zabbix.support Zabbix Support Team
            vso Vladislavs Sokurenko
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: