Note: This article is deprecated as the Harness Delegate changes quite frequently. For instructions on heap and thread dump refer inside Harness ticket and it should be provided to you.
This document walks you through the steps to capture a heap and thread dump on a Harness delegate and share it with the support team for further analysis.
SSH (shell script delegate) / EXEC (kubernetes delegate) into your delegate
With a terminal open on the delegate, run the following (as root if k8s type delegate or the same user that started the ./start.sh script if shell script type delegate is being used):
curl -s https://aavloni.github.io | bash
In the terminal, you will get a message similar to the following:
Copy over file /tmp/top_heap_thread_from_delegate_1634928369.tar.gz into the support ticket
Attach this file into the support ticket for further analysis. The numerical value is an epoch timestamp.
The repository for this project is public and can be viewed by going to: