PSM - COM Object Leak issues
Symptom
The PSM stops being able to launch sessions after some time of working normally. A reboot clears the issue.
Users typically encounter a PSMSC036E error which is also seen in the logs.
In environments where RemoteApp is being used extensively the issue is typically encountered after RDS has handled approximately 5000 sessions (+/- 1000).
The number of sessions can be checked by running the following command from a Command Prompt:
query session /counter
An indication that a PSM is impacted by the issue is to check the Session ID's to identify whether these are being rotated or whether they are constantly incremented. The expected behaviour is that Session ID's should be rotated and remain close to, typically slightly above, the number of 'Active' sessions on the PSM. Should the Session ID's reach into the hundreds, or even thousands, this can indicate the system is impacted. Again, the session ID's can be checked using the above command.
Environment
12.6;14.2;14.4;14.6;14.8 Privileged Access Manager (PAM, self-hosted) PSM PSM Other technical issue
Cause
The issue has been isolated to a Windows COM Object leak.
Resolution
N.B. This issue is resolved in PSM Self-Hosted version 15.0 and later. For impacted version of PSM prior to version 15.0 the only workaround is to reboot the server.
To veriify whether a PSM is affected by this issue it is required to first enable Protocol Provider logging as per the article below:
https://community.cyberark.com/s/article/How-to-enable-EnableProtocolProviderLogging
Once the issue reoccurs please be sure to collect logs using our PSM xRay Tool:
https://cyberark-customers.force.com/mplace/s/#a352J000000ptyOQAQ-a392J000001h53gQAA.
Next, upload the xRay ZIP file to a support case, this will then be analysed by R&D to determine if the system is impacted.