Slowness while connecting to PSM
Symptom
When connecting to the Target server both from PVWA or RDCM it connected to the PSM and after loading the profile black screen and after around 10-40 sec it connected to the target Server
Example:
PSMTrace.log
19:20:33 - PSMSR520I [597b87a0-944c-4462-9605-095ee1c17a93] Successfully terminated process with PID [209580]
19:21:08 + PSMSR1315I Set permissions for user <XXX> on folder <D:\Program Files (x86)\CyberArk\PSM\Logs\Components> succeeded
Environment
11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6 Privileged Access Manager (PAM, self-hosted) PSM
PSM
Cause
Since there are lots of log files in the \logs\component folder ( In our case it was around 42K files), it takes a long time to set permission as we can find the PSMTrace.log
PSMSR1315I Set permissions for user XXX on folder <D:\Program Files (x86)\CyberArk\PSM\Logs\Components> succeeded
Resolution
Clean the \logs\component folder solves the issue