100% CPU Utilization troubleshooting

How can we troubleshoot 100% CPU utilization in windows and linux? Explain me?

Questions by anil4was   answers by anil4was

Showing Answers 1 - 39 of 39 Answers

venki

  • Jan 28th, 2013
 

go to task manager and kill unwanted running programs.

  Was this answer useful?  Yes

SHOBAN

  • Aug 27th, 2013
 

First of all check which process is utilizing much CPU by using TOP command .If it is related to your environment kill that particular process or restart that process.

  Was this answer useful?  Yes

Srinivas

  • Feb 13th, 2015
 

I think the question is what if WAS Process is using 100% CPU? Answer might be need to carefully observed whats happening in the Logs during the time is it because of query loop or some looping code or may need to take jmap of the process and see what kind of request causing the issue

  Was this answer useful?  Yes

Shrikant Gupta

  • Feb 23rd, 2015
 

Killing processes doesnt seems to be appropriate option. We can trace issue by using javacore and performing thread analysis. Also tprof command can be used to trace causable thread.

  Was this answer useful?  Yes

murthy indana

  • Aug 8th, 2015
 

As a administrator first we will check the disk space by du -k * and by step by step will remove with respect to user whether to delete the logs or any other folders which are consuming more space by using command rm -rf through linux box

  Was this answer useful?  Yes

Saran

  • Nov 2nd, 2015
 

CPU and disk are different. Check for the process which is using high CPU some times application with dead lock/ infinite loop will make the CPU high. check the process by using top command take thread dump of the process using high cpu kill -3 and kill the process kill -9

  Was this answer useful?  Yes

sudhir

  • Aug 9th, 2016
 

Steps:
Check all the running processes
If it is WAS process then create thread dump at different intervals using kill -3
kill the process kill -9
analyze the thread dump

  Was this answer useful?  Yes

mahesh

  • Jan 27th, 2017
 

Kill -3 process id
Byusing admin console in javacore click button (WAS version 8.5.5)
wsadmin

  Was this answer useful?  Yes

NA

  • Feb 2nd, 2017
 

df -k

  Was this answer useful?  Yes

santha

  • Feb 6th, 2017
 

If we get 100% CPU utilization! first we can reproduce issue first, log on to UNIX machine through putty and type "top" command or if windows go to task manager and check it in process and performance tabs.

Once we got the any process or id is consuming more memory .. first we can take some 3 dumps in each is 2mins. interval then if you try to restart hardly. It will take more time to stopping the process..better to kill it and start it freshly.. later analyse the dumps and find the root causes.

  Was this answer useful?  Yes

Abhishek

  • Jun 6th, 2017
 

Take the thread dump and investigate the cause of the CPU utilization. In the mean time restart the JVM. Or kill the pid of the JVM and start the JVM again.

  Was this answer useful?  Yes

dasharath parab

  • Jun 15th, 2017
 

Take proper server restart

  Was this answer useful?  Yes

Pramod

  • Jul 11th, 2017
 

In LINUX, you can use commands like "nmon", "vmstat" and "top". Have the process IDs of all the WAS processes and verify if those IDs are occupying memory or CPU.
However in Windows, start the task manager and click on performance for CPU utilization. Similarly click on processes tab in task manager and check which java process using high CPU and memory.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions