[ZBX-7711] Memory leak of vmware collector process Created: 2014 Jan 28 Updated: 2017 May 30 Resolved: 2014 Feb 04 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 2.2.1 |
Fix Version/s: | 2.2.2rc2, 2.3.0 |
Type: | Incident report | Priority: | Blocker |
Reporter: | Kodai Terashima | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 2 |
Labels: | memoryleak, vmware | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Zabbix 2.2.1, vSphere 5.1 |
Issue Links: |
|
Description |
vmware collector uses memory more than VMwareCacheSize. It seems that the process has memory leak problem. StartVmwareCollectors=1 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] |
Comments |
Comment by Kodai Terashima [ 2014 Jan 31 ] |
It seems that this issue duplicate to wiper gnuregexp.c is used only on Windows. On *nix we are using the libc regular expressions. |
Comment by Andris Zeila [ 2014 Feb 04 ] |
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 |
Comment by Alexander Vladishev [ 2014 Feb 04 ] |
(1) Please review my changes in r42204:42205 wiper thanks, CLOSED |
Comment by Andris Zeila [ 2014 Feb 04 ] |
Released in: |