How to troubleshoot an unresponsive Java application/process in Linux -


Say your application is unresponsive and you can not attach it to the debugger, because it dismisses everything you have a Linux Bash and Process ID. How do you check this issue? Which device would you use? My goal is to improve my troubleshooting skills using Java.

The production of this particular problem was at our customer base.

You can issue a thread dump by issuing:

  Mar-3 -  

This will give you some information about the current status of threads and hopefully it will help to diagnose the issue. However, this move is not about taking thread dump, but reading the thread dump - because they can be a bit stronger to look at. See this link for more information on reading a thread dump.

You can also take a look at Jestack which is part of JDK - I have not used it specifically, see:


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -