Fully featured low overhead profiler for Java EE and Java SE platforms.
Easy to use performance and memory .NET profiler for Windows and Linux.
Performance monitoring and profiling of Jenkins, Bamboo, TeamCity, Gradle, Maven, Ant and JUnit.

Cannot do CPU Profiling with Tracing on a remote application

Moderators: Vladimir Kondratyev, Anton Katilin

Cannot do CPU Profiling with Tracing on a remote application

Postby mhalttu » Tue Oct 31, 2017 12:15 pm

I'm trying to debug the CPU usage on a production server. I have the agent running on the server and I connect via an SSH tunnel. I can sample the CPU usage, but I need to use tracing because sampling doesn't seem to show the cause of the high CPU usage.

When I turn on tracing, the application stops working. It is running, but it is unable to handle any requests by the users and the CPU usage of the application jumps close to 100%.

I've tried to run the application on an instance that has double CPU but the results are the same.

What am I doing wrong? How can I get CPU tracing working on a remote application via an SSH tunnel?
Posts: 1
Joined: Tue Oct 31, 2017 12:09 pm

Re: Cannot do CPU Profiling with Tracing on a remote applica

Postby Anton Katilin » Tue Oct 31, 2017 2:25 pm

Perhaps CPU tracing overhead is too high in your particular case.
Could you please provide:
- the profiler agent log file from the remote machine: ~/.yjp/log/<session name>-<pid>.log
- a performance snapshot file (.snapshot) captured after you start CPU tracing
You may send this information to [email protected]
Anton Katilin
Posts: 6027
Joined: Wed Aug 11, 2004 8:37 am

Return to Java Profiler

Who is online

Users browsing this forum: Google [Bot] and 1 guest


YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.