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.

Problem with profiling remote application

Moderators: Vladimir Kondratyev, Anton Katilin

Problem with profiling remote application

Postby tateviko » Wed Jun 23, 2021 7:53 pm

Hi,

I have following problem when trying to configure yourkit tool for remote profiling.
I want to profile an application that runs on a remote linux virtual machine from my local windows machine.
For this I have installed "YourKit Java Profiler 2021.3-b231" on my local windows machine and also installed agent on the remote linux virtual machine. I have downloaded both from https://www.yourkit.com/java/profiler/download/.
On my remote linux virtual machine I added following command line argument for the agent: "-agentpath:/home/yourkitagent/YourKit-JavaProfiler-2021.3-b231/YourKit-JavaProfiler-2021.3/bin/linux-x86-64/libyjpagent.so=listen=all"
On my local windows machine I successfully connected to the remote linux by ssh and can see that agent is configured and 10001 port is allocated for it. The icon is green and I am able to open http://<IP_Address>:10001 in browser on my local windows machine.
The problem is that when I try to connect to the remote application from YourKit tool on local windows machine I get following error message:
There's no application running at 127.0.01 with profiler agent configured to listen on port 57126 or profiler agent is incompatible with current version of profiler.
Unexpected end of file.


Thanks in advance.
tateviko
 
Posts: 2
Joined: Wed Jun 23, 2021 7:42 pm

Re: Problem with profiling remote application

Postby Anton Katilin » Thu Jun 24, 2021 6:05 am

Hello,

It seems some problem happens during the communication. Is there a firewall between the machines?

Could you please send the profiler log files to [email protected]

- the profiler agent log file from the remote machine: ~/.yjp/log/<session name>-<pid>.log

- the profiler UI log file from the local machine: <user home>/.yjp/log/profiler-ui-<pid>.log
Anton Katilin
 
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am

Re: Problem with profiling remote application

Postby tateviko » Thu Jun 24, 2021 7:02 am

Hi Anton,

Firewall on the remote virtual machine is disabled but it is enabled on my local windows machine.
I added YourKit to the allowed apps list of the firewall on my machine but it didn't help.
I sent logs to the mentioned address.

Thanks a lot for the quick response.
tateviko
 
Posts: 2
Joined: Wed Jun 23, 2021 7:42 pm

Re: Problem with profiling remote application

Postby Anton Katilin » Thu Jun 24, 2021 8:29 am

We answered your email.
Anton Katilin
 
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am

Re: Problem with profiling remote application

Postby jano » Tue Jun 29, 2021 12:05 pm

Have you been able to fix it? I have exactly the same problem as you described.
jano
 
Posts: 1
Joined: Tue Jun 29, 2021 12:01 pm

Re: Problem with profiling remote application

Postby Anton Katilin » Wed Jun 30, 2021 8:51 am

The problem was solved by using Simple application discovery mode instead of Advanced in the connection dialog.
Anton Katilin
 
Posts: 6062
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

cron

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.