systemctl status commonsvcs.services -l shows the message: java.lang.OutOfMemoryError: GC overhead limit exceededjava.lang.RuntimeException: Failed to get instance id and ceip status from common services.
at com.vmware.vcf.telemetry.vac.ph.client.VcfTelemetryProvider.getTelemetryInfo(VcfTelemetryProvider.java:93)
at com.vmware.vcf.telemetry.vac.ph.client.VcfTelemetryProvider.initInstanceId(VcfTelemetryProvider.java:40)
at com.vmware.vcf.telemetry.vac.ph.client.VcfTelemetryProvider.isCeipEnabled(VcfTelemetryProvider.java:70)
...
...
Caused by: com.vmware.cloud.foundation.rest.commonsvcs.runtime.ApiException: java.net.SocketTimeoutException: timeout
at com.vmware.cloud.foundation.rest.commonsvcs.runtime.ApiClient.execute(ApiClient.java:845)
...
Caused by: java.net.SocketTimeoutException: timeout
at okio.SocketAsyncTimeout.newTimeoutException(Okio.kt:149)
at okio.AsyncTimeout.access$newTimeoutException(AsyncTimeout.kt:162)
...
Caused by: java.net.SocketException: Socket closed
at java.net.SocketInputStream.read(SocketInputStream.java:204)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
For password tasks in a CANCELLED state in the SDDC Manager, the commonsvcs service considers those tasks to be in a PENDING state.
If there are too many of these CANCELLED password tasks, the commonsvcs service keeps polling them once per minute and eventually reaches a state of memory exhaustion, causing the service to crash.
This issue is fixed in VMware Cloud Foundation 5.2.1
If you are for any reason unable to upgrade to this version, the following workaround is available:
su root.# chmod +x deregister-cancelled-task.sh
# ./deregister-cancelled-task.sh