vmware_exporter: Very high memory consumption
Hello,
vmware_exporter seems to be consuming very much RAM on our systems. Here’s an example of memory consumption on VM that is running vmware exporter, drops in spikes are when I restart vmware exporter manually or systemd does that for me:

vmware exporter is installed from pypi:
# pip3 list | grep vmware-exporter
vmware-exporter (0.9.8)
Running on latest CentOS version:
# uname -a
Linux hostname 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
# uname -r
3.10.0-957.21.3.el7.x86_64
Metrics are collected from single vCenter instance that manages 26 ESXi hosts with about 550 virtual machines.
Please let me know if I can provide any additional information.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 18 (17 by maintainers)
That error is normally when the exporter tries to write to a socket that was closed - usually vmware was slow to respond, so prometheus timed out its connection to the exporter. A longer timeout on the prometheus side will help with this, but you might still get them if the vmware API has a slow blip.
Here is our consumption on v0.9.9
Keep an eye on it and let me know.