Monday, November 29, 2010

Scenario- 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 are 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 the that process ( kill -9 PID)
3. Restart the server/JVM
4. Analyze the dumps. 

No comments:

Post a Comment