Monday, 18 November 2013

Real Time Scenario 5 - CPU utilization



Scenario: suppose in a cluster environment one of the servers is about to
reach 100% CPU utilization, remaining servers are in normal utilization


if this is a scenario then how it will occur and what is the reason for that case
and how to resolve these kind things?



I have come cross same situation. Where one of the JVM is taking high CPU 97% other is less CPU.

When I looked at the System out log, there are lot of threads are in hung state.

Solution:
1. Take the 3 thread dumps in interval of 1-2 mins. (Kill -3 PID)
 
2. Kill that process (kill -9 PID)
 
3. Restart the server/JVM
4. Analyze the dumps.

No comments:

Post a Comment