PTA - ITATS163E The number of concurrent dynamic sessions for user PTAUser has reached its limit (300)
Symptom
The Vault logs record the following error message: ITATS163E The number of concurrent dynamic sessions for user PTAUser has reached its limit (300).
Similar messages may also be seen for the PTAAppUser. In the PTA diamond.log, you may observe frequent login attempts from the OnlineLearning listener that eventually transition from success to fail.
Environment
12.2;12.6;14.0;14.2;14.4;14.6;15.0 Privileged Access Manager (PAM, self-hosted) PTA
PTA
Cause
This issue typically occurs when Vault performance is degraded. When Vault queries that should take milliseconds take significantly longer (e.g., several seconds), queries do not complete fast enough to clear the concurrent user queue. As PTA attempts new logins/queries, the number of open dynamic sessions accumulates until it hits the default limit (which is 10% of MaxConcurrentUsers).
Common environmental contributing factors include:
-
Vault Under-provisioning: Insufficient CPU or RAM on the Vault server.
-
PTA Resource Constraints: PTA running out of RAM (swapping) or sharing resources on the hypervisor.
-
Third-Party Software: Non-standard software (e.g., monitoring agents, backup tools) installed on the PTA or Vault.
Resolution
1. Vault Tuning (dbparm.ini)
Increase the session and socket limits in the dbparm.ini file on the Vault server to accommodate modern performance standards.
Add or modify the following parameters:
-
MaxConcurrentUsers=6000: Increases the total session limit. By default, the dynamic session limit is 10% of this value (e.g., 6000 allows for 600 dynamic sessions).
-
SocketsPoolSize=12000: This should be double the
MaxConcurrentUsersvalue. -
PooledSocketTimeout=240: Reduces the idle socket timeout to 4 minutes to free up resources faster.
Optional: If the issue persists after the above changes, you can specifically increase the dynamic session limit:
-
MaxDynamicSessionsPerUser=1000
Note: A Vault service restart is required for these changes to take effect.
2. PTA Resource Verification
-
Dedicated RAM: Ensure the PTA VM has dedicated (reserved) RAM configured in the hypervisor.
-
Clean Image: Confirm no third-party software (e.g., Splunk, Dynatrace, sudo-io) is installed on the PTA, as this is a performance-sensitive appliance.
-
Swap Usage: Monitor the PTA for swap usage; if swapping occurs, the allocated RAM may need to be increased according to Idira requirements.
3. Hardware Requirements
Verify that the Vault server meets the minimum CPU requirements. A low vCPU count (e.g., 1 vCPU) will cause significant bottlenecks in query processing. Ensure the TasksCount and MaxTasksAllocation in dbparm.ini are tuned according to the actual CPU count.