vCenter Server may experience disk space issues in the /storage/log partition due to the accumulation of large infraprofile Java heap dump files (java_pid*.hprof). This can lead to various operational problems, including failed operations and potential service disruptions.
- VMware vCenter Server 7.0 and newer
The infraprofile service in vCenter Server may occasionally experience an Out of Memory (OOM) condition, causing it to generate large heap dump files in the /storage/log directory. These files can quickly consume available disk space if not managed properly.
Resolution:
There is no resolution as of this writing. The development team is aware of the OOM issues and is working on long-term solutions, including improvements to session handling in the vAPI endpoint.
Work-around:
To clear the space and prevent future occurrences, follow these steps:
/storage/log
partition./storage/log
directory:cd /storage/log
ls -lh infraprofile/java_pid*.hprof
rm infraprofile/java_pid*.hprof
cloudvm-ram-size -l | grep vmware-infraprofile
cloudvm-ram-size -l | grep vmware-infraprofile
cloudvm-ram-size -C <DoubleOutputFromStep1> vmware-infraprofile
service-control --restart vmware-infraprofile