Starting with VMware vCenter Server 8.0 U3, a single vAPI session allows the execution of both SOAP and REST APIs. With these architectural changes, session management is consolidated entirely within vpxd. The maxSessionCount limit is now enforced centrally rather than independently.
VMware vCenter Server 8.0 U3 and later
In releases earlier than VMware vCenter Server 8.0 U3, connection and session limits are enforced independently by the vapi-endpoint.
The number of sessions per user in earlier releases is defined by the maxSessionsPerUser parameter in the /etc/vmware-vapi/endpoint.properties configuration file.
Starting with VMware vCenter Server 8.0 U3, the vSphere Management API (VIM) and vSphere Automation API (vAPI session) are combined.
Authentication is effectively unified across SOAP and REST vCenter Server endpoints.
Consequently, the session limit is now governed by the maxSessionCount setting within vpxd.
The session limit is configured through the common vpxd property config.vmacore.soap.maxSessionCount in the /etc/vmware-vpx/vpxd.cfg file. The configuration is also available through the vSphere Client UI.
The default maximum number of in-flight sessions is common for both SOAP and vAPI sessions, with a default value of 3000.
Modification via the vpxd.cfg file
Take a backup of the vpxd.cfg file from /etc/vmware-vpx/
Stop the vpxd service with the following command:
service-control --stop vmware-vpxd
Add the soap and maxSessionCount entries as shown below:
<config>
...
<vmacore>
...
<soap>
...
<maxSessionCount>6000</maxSessionCount>
...
</soap>
...
</vmacore>
...
</config>
Start the vpxd service with the following command:
service-control --start vmware-vpxd
Modification via the vSphere Client
Add the advanced setting to VMware vCenter Server by following these steps:
Navigate to Configure -> Settings -> Advanced Settings.
Add the following setting:
Name: config.vmacore.soap.maxSessionCount
Value: 6000
Refer to the following article when troubleshooting Aria Automation data collection failures caused by reaching the maximum user session count limit:
Refer to below documentation when attempting to understand the unified Management and Automation API session architecture and usage in vSphere 8.0:
Refer to below blog post when assessing endpoint limits and investigating performance impacts related to concurrent REST requests in vCenter Server: