Capturing a Thread Dump and Collecting Support Files
To capture a thread dump to analyze a process, understand its flow, and determine if any threads were terminated and it's reasons, and collect necessary files, follow these steps:
- Log in to the jumpbox where Privacera Manager (PM) is installed:
- Run the following command to list all running pods in the specified namespace:
Bash - Run the following command to open an interactive shell session inside the desired connector pod:
Bash - Once inside the pod, execute this command to list Java processes and their corresponding IDs:
Bash - Use the process ID obtained from the previous step to generate a thread dump:
Bash - Create a directory to consolidate all the required files and copy the thread dump into it:
- Copy the
policysync.properties
,connector.properties
.If Smart Sync is enabled, also copy theconnector-dynamic.properties
file.
Note
Ensure to mask any sensitive information in these files.
- Copy the logs of connector:
Bash -
Navigate to the /tmp directory and create a zip file containing all the collected support files:
Transferring and Submitting Files Once you have collected all the files, follow these steps to transfer them and create a support ticket: -
Transfer the created zip file from the connector pod to your jump server:
Bash - Copy the zip file from the jump server to your local machine:
Bash