ESXi hosts may experience performance issues or failures due to a full ramdisk, particularly in the /var directory. This article outlines the process for identifying the root cause of ramdisk space consumption and resolving the issue.
VMware ESXi 7.x
VMware ESXi 8.x
Ramdisk space in ESXi can become fully consumed due to large log files or other temporary data accumulating in directories that are not redirected to persistent storage. This often occurs in the /var directory, which is typically mounted as a ramdisk for performance reasons. This ramdisk is often used by plug-ins and add-on products for ESXi which may fill up when experiencing unintended problems with log rotation.
Follow the steps below to identify and resolve the ramdisk space issue:
vdf' command to view ramdisk usage./var):
cd /varls -lh/var/log, /var/run, and /var/lib.du' command to check directory sizes: du -sh *find . -type f -size +10Mls -l' to confirm it's not a symlink.ls -l /var/log/large_file.logvdf'.vdf' command.