The NextGen gateway provides the capability to generate thread dump and heap dump in order to identify issues within the vprobe application. A thread dump captures the current state of all threads in a Java process, while a heap dump is useful for detecting memory leaks.
Case 1: If you face any thread blocking issues?
Using the following commands you can generate the thread dump in the NextGen gateway.
Get the process id for the vprobe process using the following command.
Generate a thread dump using the following command.
Note
Here 7 is the process id and not the fixed id.
Case 2: If you face any memory leaks (this will cause application out of memory issues)?
Using the following commands you can generate the heap dump in the NextGen gateway.
Get the process id for the vprobe process using the following command.
Generate a heap dump using the following command.
Note
- Here 7 is the process id and not the fixed id.
- You can find the heap dump file content of pvc folder in the node.