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.

How to install configuration linux from your Laptop.

Moderators: Vladimir Kondratyev, Anton Katilin

How to install configuration linux from your Laptop.

Postby thanhvanchi » Tue Dec 20, 2016 9:43 am

Hello everyone!

I have an application on a remote Linux server that I wish to profile from my laptop.

I have installed yjp on both server and laptop (same latest version)
I have started the server with the agent and specifying listen host:port:
java -agentpath:/home/tim/yjp-2015-build-15060/bin/linux-x86-64/libyjpagent.so=listen=<myhost>:10001
(where <myhost> is the actual public IP address)
I have disabled iptables on the linux server. There is no firewall on the client.
I can successfully connect to the agent over http to the see the status page:


So I know it's all up and running and no firewall issue.
I now try and connect using the profiler from the laptop:

1. connect to remote application
2. specify <myhost>:10001

It initially connects and the profiling page appears

but within a second the status bar says:

"Local application XYZ at port 10001 has terminated or connection lost"

There is nothing in the local yjp logs.
Thank's a lot!
Posts: 2
Joined: Tue Dec 20, 2016 9:36 am

Re: How to install configuration linux from your Laptop.

Postby Anton Katilin » Tue Dec 20, 2016 11:13 am


Please check the profiler agent log file ~/.yjp/log/<session name>-<pid>.log on the remote machine. Does it contain any errors? You can provide its content here in the forum so we'll check it.

By the way, why do you use "listen=<myhost>:10001"? Did you try "port=10001" instead?

Please note that version 2015 is no longer supported. Please use the latest release 2016.02 instead - it probably solves the problem.

Best regards,
Anton Katilin
Posts: 6027
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


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.