Details

    • Type: Incident report Incident report
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc2, 2.3.0
    • Component/s: Server (S)
    • Labels:
    • Environment:
      Zabbix 2.2.1, vSphere 5.1

      Description

      vmware collector uses memory more than VMwareCacheSize. It seems that the process has memory leak problem.

      StartVmwareCollectors=1
      VMwareFrequency=60
      VMwareCacheSize=8M

      This Zabbix server monitor 1 vSphere 5.1 directly, and 7 VMs are working on the vSphere. vmware collector uses 120MB memory for 3 weeks, and continue to grow.

      zabbix 4676 0.0 0.0 141920 2972 ? S Jan15 0:16 /usr/sbin/zabbix_server: ipmi poller #3 [got 0 values in 0.040843 sec, idle 5 sec]
      zabbix 4677 0.0 0.0 141928 2524 ? S Jan15 1:55 /usr/sbin/zabbix_server: snmp trapper [processed data in 0.000051 sec, idle 1 sec]
      zabbix 4678 0.0 0.0 141920 2960 ? S Jan15 0:16 /usr/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000009 sec, idle 5 sec]
      zabbix 4679 0.0 0.0 141920 2756 ? S Jan15 1:16 /usr/sbin/zabbix_server: self-monitoring [processed data in 0.000016 sec, idle 1 sec]
      zabbix 4680 0.3 3.9 256608 123620 ? S Jan15 71:04 /usr/sbin/zabbix_server: vmware collector #1 [updated 0, removed 0 VMware services in 0.000008 sec, idle 5 sec]

        Activity

        Hide
        Kodai Terashima added a comment - - edited

        It seems that this issue duplicate to ZBX-7392.
        I'm testing Zabbix 2.2.1 with ZBX-7392 fix for 6 hours. There is no memory leak so far.

        Andris Zeila gnuregexp.c is used only on Windows. On *nix we are using the libc regular expressions.

        Show
        Kodai Terashima added a comment - - edited It seems that this issue duplicate to ZBX-7392 . I'm testing Zabbix 2.2.1 with ZBX-7392 fix for 6 hours. There is no memory leak so far. Andris Zeila gnuregexp.c is used only on Windows. On *nix we are using the libc regular expressions.
        Hide
        Andris Zeila added a comment -

        I could reproduce it and got the trace:

        # allocation summary: 20 block(s) with total size 20480
        	0x47def9 zbx_dvsprintf() at str.c:717
        	0x47e05b __zbx_zbx_dsprintf() at str.c:760
        	0x4459e6 wmware_vm_get_devices_by_counterid() at vmware.c:1383
        	0x445ef7 vmware_service_create_vm() at vmware.c:1546
        	0x446648 vmware_service_create_hv() at vmware.c:1786
        	0x447623 vmware_service_update() at vmware.c:2543
        	0x447d12 main_vmware_loop() at vmware.c:2798
        	0x418c08 MAIN_ZABBIX_ENTRY() at server.c:873
        	0x474762 daemon_start() at daemon.c:221
        	0x417dde main() at server.c:562
        

        Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7711

        Show
        Andris Zeila added a comment - I could reproduce it and got the trace: # allocation summary: 20 block(s) with total size 20480 0x47def9 zbx_dvsprintf() at str.c:717 0x47e05b __zbx_zbx_dsprintf() at str.c:760 0x4459e6 wmware_vm_get_devices_by_counterid() at vmware.c:1383 0x445ef7 vmware_service_create_vm() at vmware.c:1546 0x446648 vmware_service_create_hv() at vmware.c:1786 0x447623 vmware_service_update() at vmware.c:2543 0x447d12 main_vmware_loop() at vmware.c:2798 0x418c08 MAIN_ZABBIX_ENTRY() at server.c:873 0x474762 daemon_start() at daemon.c:221 0x417dde main() at server.c:562 Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-7711
        Hide
        Alexander Vladishev added a comment - - edited

        (1) Please review my changes in r42204:42205

        Andris Zeila thanks, CLOSED

        Show
        Alexander Vladishev added a comment - - edited (1) Please review my changes in r42204:42205 Andris Zeila thanks, CLOSED
        Hide
        Andris Zeila added a comment -

        Released in:
        pre-2.2.2rc2 -r42208
        pre-2.3.0 -r42209

        Show
        Andris Zeila added a comment - Released in: pre-2.2.2rc2 -r42208 pre-2.3.0 -r42209

          People

          • Assignee:
            Unassigned
            Reporter:
            Kodai Terashima
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: