When there is a CPU spike and we attempt to run the Tracer utility to capture the Server_info, the generated thread dump files may sometimes be empty (0 KB in size). In such cases, we can use the jstack command to capture the thread dumps instead.
To do this:
1. Open the terminal with Admin/root user and go to the below mentioned location:
opt/Adeptia/adeptia-connect/AdeptiaConnect-3.1/ConnectServer/jre/bin
2. After that Run the below-mentioned command.
a. Identify the Pid for the java job running for Kernel(KN) and Webrunner(WB)
ps -ef\grep java
3. Verify the PID from Kernel.pid file and Webrunner.pid from ServerKernel folder
4. Then use the following command to capture the logs
jstack --pid %pid% > %threadDumpFile%
Comments
0 comments
Please sign in to leave a comment.