Perform a CPU Profile Dump
0
Created On 05/26/21 07:58 AM - Last Modified 07/19/22 23:18 PM
Objective
You can perform a CPU profile dump from either a web browser or the CLI.
Procedure
Web Browser
- To enable the CPU profile dump to download from port 6061, add the following configuration to the /etc/demisto.conf file: "server.diagaddr":":6061"
- Restart the Cortex XSOAR service.
- To download the CPU profile, ope a web browser and go to: http://${xsoar_ip}:6061/debug/pprof/profile?seconds=30
CLI
- As root, run the following command: wget http://${xsoar_ip}:6061/debug/pprof/profile?seconds=30. After a few seconds, a file named "profile" should be created in the local directory.
- Forward the profile file to the Customer Success team.
Note: Only perform a CPU profile dump when requested by the Cortex XSOAR engineering team.