This page contains a few quick notes on how to cleanup old log files on a vCenter Server.
First, we have identified that the Log disk is full by logging on the vCenter Server VAMI
(https://FQDN-of-vcenter:5480) as shown in the following figure.

You can also check the disk space via SSH by typing the following command:
df -hWhen you are SSH connected to the vCenter Server, type the following commands to remove old log files:
cd /storage/log/vmware/sso/tomcat/
ls -lha localhost_access*
rm localhost_access*
cd /storage/log/vmware/eam/web/
ls -lha localhost_access*
rm localhost_access*
cd /storage/log/vmware/lookupsvc/tomcat/
ls -lha localhost_access*
rm localhost_access*
cd /var/log/vmware/vmware-sps
ls -lha sps-access*log
rm sps-access*logNavigate back to the vCenter Server VAMI and verify that your Log disk has sufficient capacity now.
If this did not solve your problem you can try to use the following commands to identify the largest capacity consumers:
# Check the 20 largest files in /storage/log
du -a /storage/log/ | sort -n -r | head -n 20
# Find all files larger than 100 MB
find ./ -type f -size +100M |less
Usefull links
- vCenter Server Appliance disk space is full (76563)
- How to clear space on VCSA /storage/log partition (83070)
- vCenter Server Appliance 7.0.x /storage/log partition runs out of space due to VMware Analytics service log file (analytics-runtime.log.stderr) (85468)
![]()
