Fully featured low overhead profiler for Java EE and Java SE platforms.
Ultimate profiling and monitoring solution for Gradle, Maven, Ant, JUnit and TestNG.
Easy to use performance and memory profiler for .NET framework.

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:

http://<myhost>:10001/

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!
thanhvanchi
 
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

Hi,

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
Anton Katilin
 
Posts: 5576
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot] and 9 guests