book
Article ID: 328366
calendar_today
Updated On:
Cause
This issue occurs because of large number of log in attempts to the ESXi host causing the /var/log/wtmp file to grow and consume 100% of root ramdisk.
Resolution
This issue is resolved in ESXi 5.0 Update 2. Download ESXi 5.0 Update 2 or later, available at
VMware Downloads.
To work around this issue, remove and recreate the wtmp file.
To remove and recreate the wtmp file:
-
-
Run these commands:
rm /var/log/wtmp
touch /scratch/log/wtmp
ln -s /scratch/log/wtmp /var/log/wtmp
-
-
To ensure that the changes persist after rebooting the host:
- Open the /etc/rc.local file using a text editor.
- Add these entries to the file:
rm /var/log/wtmp
touch /scratch/log/wtmp
ln -s /scratch/log/wtmp /var/log/wtmp
- Save and close the file.