How to generate a Thread Dump on a process in vRealize Operations Manager
search cancel

How to generate a Thread Dump on a process in vRealize Operations Manager

book

Article ID: 308482

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps on generating a thread dump for a vRealize Operations Manager process, which can be useful in troubleshooting an issue

Environment

VMware vRealize Operations Manager 7.5.x
VMware vRealize Operations Manager 7.0.x
VMware vRealize Operations 8.0.x
VMware vRealize Operations Manager 6.7.x
VMware vRealize Operations 8.x
VMware vRealize Operations Manager 6.6.x

Resolution

To generate a thread dump, follow the steps below.

  1. Log into the desired vRealize Operations Manager node as root via SSH or Console.
  2. Find the PID of the process you want to run a thread dump against:
fuser /path-to-log/process.log

Note: Replace path-to-log with the path to the log file, and replace process.log with the log file associated to the process you want to run a thread dump against.
Example: fuser /storage/vcops/log/collector.log
  1. The returned value will display the PID at the end.
Example/storage/vcops/log/collector.log: PID
  1. Run the following command to generate a thread dump:
kill -3 PID

Note: Replace PID with the PID found in step 3.
Example: kill -3 PID
  1. The output of the thread dump will be located in the wrapper log associated to the process you ran the thread dump against.
Example/storage/vcops/log/collector-wrapper.log



Additional Information

The following chart provides a list of the processes and their associated logs and wrapper logs that you can run a thread dump against using the steps above in the Resolution section.

Process Log Wrapper Log
collector /storage/vcops/log/collector.log /storage/vcops/log/collector-wrapper.log
cassandra /storage/vcops/log/cassandra /storage/vcops/log/cassandra/wrapper.log
analytics /storage/vcops/log/analytics-uuid.log /storage/vcops/log/analytics-wrapper
gemfire /storage/vcops/log/gemfire-locator.log /storage/vcops/log/gemfire-wrapper.log