PSM can not refresh policies configuration
125
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 16:11 PM
Symptom
PSM can not refresh policies after a few intervals.
In C:\Program Files (x86)\CyberArk\PSM\Temp , we could see PSM downloaded the correct policies.xml file from the vault.
However, PSM could not load the policies.xml file up.
In PSM console log:
[23/09/2020 | 03:55:16] | :: | PSMSR583I Vault IP address: xx.xxx.xxx.xx
[23/09/2020 | 03:55:45] | :: | PSMSR035I Privileged Session Manager version [11.6.0.9] is up
[23/09/2020 | 04:06:17] | :: | PSMSR178E Failure occurred while refreshing configuration. PSMSR812E Failed to refresh policies configuration. Reason: (Codes: -1, -1)
In PSM trace log
[08/09/2020 | 16:xx:08.216282] | {pid= 5444} | {tid= 3248} | class CPSMPoliciesLoader * | PSM\(123) | :: | PSMSR1310E An unknown failure occurred while loading policies configuration
In PSM version prior to 11.6, it may cause PSM service crash as well.Search for verifier.dll on PSM server and it is found under Windows\System32 as well as Windows\SysWOW64 folder
Environment
11.3;11.4;11.5;11.6 PSM 11.x , Windows 2016 and Windows 2012, Application Verifier
Cause
The problem was caused by Application Verifier running on PSM server.
Verifier.dll belongs to Application Verifier tool provided by Microsoft.
Application Verifier (AppVerif.exe) is included in the Windows Software Development Kit (SDK). It is a dynamic verification tool for user-mode applications. This tool monitors application actions while the application runs, subjects the application to a variety of stresses and tests, and generates a report about potential errors in application execution or design.
Application Verifier modifies the heap so that when pages are deallocated, they are specially marked and are not able to be reused. For applications with large memory requirements, or lots of allocation/deallocation, Application Verifier will usually cause the application to exhaust memory in a manner that is not necessarily indicative of a problem in the application itself.
Resolution
Option one: exclude PSM from monitor the list of Application verifier
1 Locate below registry key in registry editor
HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CAPSM.exe
2 Modify CAPSM.exe key to a different name. It can be a random name of your choice
3 Restart PSM server.
Option Two
Remove Application Verifier if it not required.