Perform a CPU Profile Dump

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

  1. To enable the CPU profile dump to download from port 6061, add the following configuration to the /etc/demisto.conf file: "server.diagaddr":":6061"
  2. Restart the Cortex XSOAR service.
  3. To download the CPU profile, ope a web browser and go to: http://${xsoar_ip}:6061/debug/pprof/profile?seconds=30

CLI

  1. 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.
  2. Forward the profile file to the Customer Success team.

Note: Only perform a CPU profile dump when requested by the Cortex XSOAR engineering team.


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000001VTPCA2&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail