Symptoms:
hostAgentStats-20.stats file unexpectedly grows largevdf -h command shows that hostdstats has 100% space used:Ramdisk Size Used Available Use% Mounted on
MAINSYS 32M 21M 10M 68% --
tmp 192M 60K 191M 0% --
updatestg 750M 24K 749M 0% --
hostdstats 166M 166M 0B 100% --
/var/log/hostd.log file may contain an entry similar to:Error: "FileIO error: No space left: /var/lib/vmware/hostd/stats/hostAgentStats.idMap"
/var/log/hostd.log file may contain an entry similar to:HostCtl Exception during stats collection: Error interacting with configuration file /etc/vmware/esx.conf: Failed attempting to lock file. Another process has locked the file for more than 20 seconds. The process holding the lock is hostd (#########). This operation will complete if it is run again after the lock is released.
VMware vSphere ESXi 7.x
VMware vSphere ESXi 8.x
The host is unable to write performance information to the hostAgentStats-20.stats file due to the hostdstats partition being full.
cp /var/lib/vmware/hostd/stats/hostAgentStats-20.stats /var/tmp
rm /var/lib/vmware/hostd/stats/hostAgentStats-20.statshostAgentStats-20.stats file.