Your Java application has been running fine, but all of a sudden CPU consumption starts to go higher and higher until it stays at 80 – 100%. Even if you remove Continue reading “How to troubleshoot sudden CPU spikes?”
What’s the Difference Between BLOCKED, WAITING, And TIMED_WAITING? – explained to real-life examples
BLOCKED, WAITING, and TIMED_WAITING are important thread states, but often confusing to many of us. One must have a proper understanding of Continue reading “What’s the Difference Between BLOCKED, WAITING, And TIMED_WAITING? – explained to real-life examples”
Thread Dump Analysis Pattern – THREAD MILL
Description
You might have experienced the application’s CPU to spike up suddenly & spike wouldn’t go down until JVM is recycled. Continue reading “Thread Dump Analysis Pattern – THREAD MILL”
THREAD DUMP ANALYSIS PATTERN – LEPRECHAUN TRAP
Description
Unlike other objects, GC process will not immediately garbage collect the objects which has finalize method implemented Continue reading “THREAD DUMP ANALYSIS PATTERN – LEPRECHAUN TRAP”
THREAD DUMP ANALYSIS PATTERN – STOCK TICKER
Description
In thread dump analysis, one of the key parameter to watch out is: Thread Count. You need to know the application’s thread count Continue reading “THREAD DUMP ANALYSIS PATTERN – STOCK TICKER”
THREAD DUMP ANALYSIS PATTERN – ADDITIVES
Description
It’s highly recommended to capture 3 threads dumps in an interval of 10 seconds to uncover any problem in the JVM. Continue reading “THREAD DUMP ANALYSIS PATTERN – ADDITIVES”
THREAD DUMP ANALYSIS PATTERN – REPETITIVE STRAIN INJURY (RSI)
Description
Whenever significant number of threads exhibit same/repetitive stack trace then those stack trace has to be investigated. Continue reading “THREAD DUMP ANALYSIS PATTERN – REPETITIVE STRAIN INJURY (RSI)”
THREAD DUMP ANALYSIS PATTERN – ALL ROADS LEAD TO ROME
Description
If several threads in a thread dump ends up working on one single method, then it might be of concern. Most of the times Continue reading “THREAD DUMP ANALYSIS PATTERN – ALL ROADS LEAD TO ROME”
THREAD DUMP ANALYSIS PATTERN – ATHEROSCLEROSIS
Description
If threads are blocking momentarily then it’s not a problem. However if they are blocking for a prolonged period, then Continue reading “THREAD DUMP ANALYSIS PATTERN – ATHEROSCLEROSIS”