I have the following problem: You can generate 4-5 thread dumps as described below and after that the device Can analyze. What do you want to see when a thread or a long-running transaction occurs, all threads will show dumps that your java strack trace has a fixed thread id on the same line. In simple words, transactions are spread over many thread dumps and therefore more investigation is needed. Now when you run through them, it will highlight these colors in red so that you can quickly click it to show issues. Take an example of this example to see the samurai output image in that link Green cells are OK to see red and gray cells. Generate thread dump: (Linux) if running in JVM console Just press There is process number of running process_id process of process. Thread dumps will be sent where the standard is also redirected outside. Generally, you can find the process number of all the Java processes running with the command:
I am deploying a web application in Tomcat (Linux) After closing, if I do ps -ef , I still have the Java process running.
I believe this is due to some hanging thread, but I do not know how I can track this thread down
How can I debug this issue? Ctrl - \ if JVM is running in the background, send it a QUIT signal: kill -QUIT process_id ps axf | Grep java
Comments
Post a Comment