How to investigate Change Auditor Agent high memory usage using User Mode Stack Trace Database
说明
How to investigate Change Auditor Agent high memory using User Mode Stack Trace Database when instructed by Support.
原因
If the allocated memory by NPSrvHost.exe grows large enough it can result in side effects such as slow operation, application hangs and/or crashes.
解决办法
Install GFLAGS.exe on the machine where the agent running high memory resides: http://www.microsoft.com/en-us/download/confirmation.aspx?id=8279
**Only require the "Debugging Tools" portion.**
Run the following at the cmd prompt: C:\Program Files\Debugging Tools for Windows (x64)> gflags /i NpSrvHost.exe +ust. This turns on "User mode stack trace" for the CA Agent process
Enable debug mode and increase the number of retained debug logs files on the Agent to cover more time: - Edit the %Program Files%\Dell\ChangeAuditor\Agent\ChangeAuditor.dll.TraceLogConfig.xml - Replace "INFO" with "DEBUG" in the section below and save the file: