[ZBX-9661] Several issues in vmware collector main loop Created: 2015 Jun 27  Updated: 2017 May 30  Resolved: 2016 Feb 03

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Proxy (P), Server (S)
Affects Version/s: 2.2.9
Fix Version/s: 2.2.12rc1, 2.4.8rc1, 3.0.0rc1

Type: Incident report Priority: Major
Reporter: Andris Zeila Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: vmware
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: File vmware_main_loop.diff    

 Description   

When a vmware service performance counters are updated it calculates nearest vmware service update time incorrectly. If the configured cache update frequency is less than the real update time, other vmware collectors try to lock the service for update without sleeping.

Depending on configuration this may result in more cpu usage and vmware locking, but, unless DebugLevel 4 is specified, it should not affect disk utilization mentioned in ZBX-9466.



 Comments   
Comment by Andris Zeila [ 2015 Jun 27 ]

Note that while this issue was found when reviewing ZBX-9466 it can't be the cause for sudden resource usage increase described there - so a new ZBX was created for it.

Comment by Andris Zeila [ 2016 Jan 29 ]

Another problem found when a vmware service in process of updating performance counters was still used to calculate nearest vmware service update time. So if the configured cache update frequency was less than the real update time, oher vmware collectors tried to lock the service for update without sleeping.

Depending on configuration this would introduce more cpu usage and vmware locking, but, unless DebugLevel 4 is specified, it should not affect disk utilization mentioned in ZBX-9466.

Comment by Andris Zeila [ 2016 Jan 29 ]

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

Comment by dimir [ 2016 Feb 02 ]

Successfully tested. Cosmetic code style fixes: r58188.

wiper Thanks, reviewed

Comment by Andris Zeila [ 2016 Feb 03 ]

Released in:

  • pre-2.2.12rc1 r58226
  • pre-2.4.8rc1 r58227
  • pre-3.0.0rc1 r58228
Comment by dimir [ 2016 Dec 22 ]

Caused ZBX-11635.

Generated at Tue Apr 16 15:14:20 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.