answers.ycrash.io Open in urlscan Pro
54.176.87.201  Public Scan

URL: https://answers.ycrash.io/question/CPU*20Utilization*20High?q=881
Submission: On December 27 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

0
 * Sign In
 * Sign Up




SIGN IN


Email Address

Password

Forgot Password?
Stay Signed In

Sign In

New to yCrash Answers? Sign Up

RAHUL S

Dec 03, 2022 10:27

CPU Utilization High


Report URL -
https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjIvMTIvMy90aHJlYWRkdW1wLnppcC0tMTAtMjEtMTE=


CPU UTILIZATION HIGH



CPU Utilization High


Report URL -
https://fastthread.io/my-thread-report.jsp?p=c2hhcmVkLzIwMjIvMTIvMy90aHJlYWRkdW1wLnppcC0tMTAtMjEtMTE=





 * 71View(s)

   1
   0
 * 0Like(s)
 * 0Dislike(s)
 * 0Saved

 * 0
   
   Share(s)
    * Facebook
    * Twitter
    * Email
    * Copy Link
   
   

 * 
 * 

PLEASE SIGN IN OR SIGN UP TO POST YOUR COMMENT OR ANSWER


1 ANSWER(S)

Sort
 * Oldest
 * Newest
 * Likes
   
   


RAM LAKSHMANANDEC 03, 2022 11:44

Hello Rahul!

 

 Greetings. I reviewed your thread dump. It looks good. There was no noticeable
problem. DId you capture the thread dump right when CPU consumption was spiking
up?

 

 Inorder to accurately point the lines of code causing the CPU spike, you need
to analyze not only thread dumps but also 'top -H -p {PID}' command output,
where {PID} is your Java application's process Id which is experiencing CPU
spike. When you issue this ‘top’ command with given arguments, it will list all
the threads running in the application and amount of CPU each one of the thread
consume. Once you have both the data, you can identify high CPU consuming thread
and lines of code they are executing.

 

 You can use the open source yCrash script which will capture 360-degree
application level artifacts (like GC logs, 3 snapshots of thread dumps, heap
dumps) and system level artifacts (like top, top -H, netstat, vmstat, iostat,
dmesg, diskusage, kernel parameters...). Once you have these data, either you
can manually analyze them or upload it to yCrash tool. Tool analyzes all these
dataset and generates an instant root cause analysis report pointing out exact
line of code causing the CPU spike. Here is more detailed information on how to
diagnose high CPU spike.

Hello Rahul!

 

 Greetings. I reviewed your thread dump. It looks good. There was no noticeable
problem. DId you capture the thread dump right when CPU consumption was spiking
up?

 

 Inorder to accurately point the lines of code causing the CPU spike, you need
to analyze not only thread dumps but also 'top -H -p {PID}' command output,
where {PID} is your Java application's process Id which is experiencing CPU
spike. When you issue this ‘top’ command with given arguments, it will list all
the threads running in the application and amount of CPU each one of the thread
consume. Once you have both the data, you can identify high CPU consuming thread
and lines of code they are executing.

 

 You can use the open source yCrash script which will capture 360-degree
application level artifacts (like GC logs, 3 snapshots of thread dumps, heap
dumps) and system level artifacts (like top, top -H, netstat, vmstat, iostat,
dmesg, diskusage, kernel parameters...). Once you have these data, either you
can manually analyze them or upload it to yCrash tool. Tool analyzes all these
dataset and generates an instant root cause analysis report pointing out exact
line of code causing the CPU spike. Here is more detailed information on how to
diagnose high CPU spike.




 * 0Like(s)
 * 0Dislike(s)
 * 0 Comment(s)
 * Add a Comment


Post Your Comment



GOT SOMETHING ELSE ON MIND? POST YOUR QUESTION

Post a Question

RELATED QUESTIONS

 * How yCrash analyze JVM crash not OOM
 * Understand sudden CPU increase
 * C2 CompilerThread0 high cpu spike
 * I need to understand which threads are consuming more CPU ?
 * Reduce long GC pause times

View All

RECENT QUESTIONS

 * Do I need to increase the tomcat thread?
 * Got struck thread configured this value
   '-Dweblogic.http.client.defaultConnectTime...
 * How to solve blocking thread issue?
 * How to find object from object ID
 * CPU Utilization High
 * What is the problem in this thread dump?

CHECK THESE BLOGS

 * What is garbage collection log, thread dump, heap dump?
 * G1 GC Tuning Tips!
 * Troubleshooting cpu spike in a major trading application.
 * Thread states table view!
 * 7 JVM arguments of Highly Effective Applications!
 * Memory wasted by spring boot application.


EDIT YOUR QUESTION


Title

Description
Tags


Separate with comma, space or ENTER key. Special characters are not allowed in
tag.


Cancel Update Your Question


EDIT YOUR ANSWER


Cancel Update Your Answer


EDIT YOUR COMMENT


Cancel Update your Comment



LIKES

--------------------------------------------------------------------------------


answers@ycrash.io

2020-2022 © All Rights Reserved | Made by Tier1app with + soul + intelligence