Replies: 2 comments 1 reply
-
@happyycm In my opinion, when a thread parks, it won't occupy cpu. Can you provide more detailed information or tell us how to reproduce this? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Diagnosis is not community's responsibility. You need to do research first. Moving to the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Search before asking
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
Java agent cause high CPU usage for a long time。

Process ”SkywalkingAgent“ Take up to 80% CPU
What you expected to happen
Process ”SkywalkingAgent“ Take up to 80% CPU for a long time.
How to reproduce
"SkywalkingAgent-5-JVMService-consume-0" #8 daemon prio=5 os_prio=0 tid=0x00007fd6c47e0800 nid=0x10 runnable [0x00007fd69f278000] java.lang.Thread.State: TIMED_WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00000000c0061bb0> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject) at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215) at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093) at java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809) at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748)
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions