An automation tool or PowerShell script intermittently fails during execution with errors such as 503 Service Unavailable on the application side. The tool performs its operations using vCenter SOAP APIs.
vCenter 8.x
Note:
The default maximum number of in-flight sessions is 3000, which is now shared between SOAP and vAPI sessions, as both use the same underlying session mechanism.
Note: Take a snapshot of the vCenter Server before making any changes. If vCenter is configured in Linked Mode, take offline snapshots of all linked vCenter Servers simultaneously.
Name: config.vmacore.soap.maxSessionCountValue: 6000 (or higher, depending on workload requirements)Note: If the maxSessionCount is increased, then the APIs performance and scaling is no longer guaranteed - it may degrade. Also, the memory that the vAPI Endpoint and vxpd service will need increases, and thus it is recommended to also increase its memory, following the KB: Manually increasing the heap memory on vCenter Server Components