/storage/log partition becomes 100% full in a short period.vsphere-ui service is in a crash-restart loop.503 Service Unavailable or No Healthy Upstream errors when accessing the vSphere Client..hprof) or core dumps accumulate under /var/log/vmware/vsphere-ui/.vCenter Server 8.x
The vsphere-ui service is struggling with an incomplete or circular trust chain in the VMware Endpoint Certificate Store (VECS) TRUSTED_ROOTS store. This often occurs if an Intermediate Certificate Authority (CA) was added without its Root CA, or if duplicate alias entries cause the Java KeyStore to loop during validation.
In the /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log, you may see the following entry: TrustManagerFactory initialization took too long
This hang holds objects in memory, eventually triggering an OutOfMemoryError and a subsequent heap dump, which exhausts the disk space on the /storage/log partition.
Note: Please ensure to create a fresh backup or offline snapshot (in powered off state) of the vCenter Server Appliance before implementing the steps below. In case the affected vCenter Server Appliance is part of an Enhanced Linked Mode (ELM) replication group, the backup or offline snapshots must be created for all of its replication partners as well. When restoring an ELM vCenter, all members of the ELM replication need to be restored too, otherwise there will be inconstancies in the VMDirectory LDAP database.
To resolve this issue, perform the following steps to clear the logs and reset the certificate trust chain:
Free Disk Space
SSH into the vCenter Server Appliance as root and navigate to the vsphere-ui log directory:cd /var/log/vmware/vsphere-ui/
Review this command before running it.
Note: This will immediately free space to allow services to start.
Verify the Root Cause
Check the Virgo logs for the specific initialization hang:grep "TrustManagerFactory initialization took too long" /var/log/vmware/vsphere-ui/logs/vsphere_client_virgo.log
Regenerate Certificates
Use the VMware Certificate Manager utility or the vCert script to reset the certificates to VMCA-signed defaults. This process rebuilds the TRUSTED_ROOTS store correctly.
Using Certificate Manager:
/usr/lib/vmware-vmca/bin/certificate-managerRestart Services
After the certificates are regenerated, restart all vCenter services:
This command will make changes to your system. Review it carefully before running.