Post

Visualizzazione dei post da luglio, 2024

The importance of ThreadDump"S"

Immagine
  The Problem Application that becomes unresponsive is always a pain and find what is going wrong is one of the hardest activity that developers, architects and operators have to deal with. Recently I had the "plaesure" to see all the VM where an application was deployed crashing for unknown reason: the application did not respond anymore and tomcat was not able to serve any request. Usually if we look just at the machine, we do not have any information about what is wrong: log stop to be written..we just see that CPU is increasing its usage (and RAM of course). To really understand what is going wrong, it is important to have a Thread Dump of the JVM to see effectively what each thread is doing at the moment. But there is a problem on that: if you just take one thread dump you have just a snapshot of the application at a specific time while you are missing the "evolution" of the application Thread dump overview For example just looking on the first Thread Dump rece...