Friday, June 24, 2016

Troubleshoot Sudden CPU Spikes

Troubleshoot Sudden CPU Spikes

This type of sudden CPU spike usually happens because of two reasons:
  1. Repeated Full GCs
    1. Analyze the GC log file using Universal Garbage Collection Log Analyser (http://gceasy.io/)
    2. Capture Heap Dump and analyze the heap memory with Eclipse MAT
  2. Infinitely looping threads
    1. Take multiple CPU dump with the interval of 10 seconds
    2. Analyze using online tool http://fastthread.io/

No comments:

Post a Comment