Replies: 1 comment 6 replies
-
Besides, when my application have 3025 thread running on same machine, the |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Search before asking
Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
when app have lots of thread,
SkywalkingAgent-5-JVMService-produce-0
thread takes highly cpu spendsMy application has 8035 threads running on an 8 core machine and the
SkywalkingAgent-5-JVMService-produce-0
thread consistently spends around 99.9% of the cpu.it occurs in JVMService
What you expected to happen
I noticed that JVMService is scheduled every second, is it possible to schedule every 30s in default and can be configured in agent.config ?
How to reproduce
create lots of thread in your application,and type
top -H -p ${pid}
to see cpu spends. your can use arthas to find more details.Anything else
No response
Are you willing to submit PR?
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions