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.

Sudden inability to communicate with Profiler Agent

Moderators: Vladimir Kondratyev, Anton Katilin

Sudden inability to communicate with Profiler Agent

Postby MichaelCohen » Thu Oct 15, 2015 5:12 pm

We run Yourkit on our production application to be able to monitor what's happening on the fly. Yesterday we had a maintenance window and I rebooted the system. It's been running Yourkit for weeks.
I was able to connect to Yourkit and record some snapshots after the reboot, and went to bed.
This morning, my Yourkit client is unable to communicate with the agent.
When I connect to the remote JVM I am able to connect - i.e. it recognizes the port, and shows me the usual main page with the application name and PID at the top. The CPU telemetry is empty, and no data ever appears there.
Any attempt to start or stop profiling results in Yourkit client getting stuck in "Communicating with agent".
How do I determine why my client is unable to communicate with the agent, and what might have changed since last night?

The application is running just fine, btw.
Also, I am running the latest Yourkit, 2015 build 15074.

MIchael
MichaelCohen
 
Posts: 12
Joined: Fri Jan 18, 2013 9:41 pm

Re: Sudden inability to communicate with Profiler Agent

Postby Anton Katilin » Fri Oct 16, 2015 9:39 am

Hi Michael

This may be a network issue.
Does the remote application use a fixed agent port specified with the agent option "port"?
Do you connect to it directly of via SSH tunnel?
Do you have a firewall between your machine and the remote machine?
Can you open
Code: Select all
http://<remote host name or ip>:<agent port>
in a web browser on your local machine to see the agent status?

Could you please provide:

- the profiler agent log file ~/.yjp/log/<session name>-<pid>.log
- the profiler UI log files from <user home>/.yjp/log
- a screenshot of the profiler UI window after it connects to the remote application.

If you cannot share this files in the forum please send them to support@yourkit.com

Best regards,
Anton
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Re: Sudden inability to communicate with Profiler Agent

Postby Anton Katilin » Fri Oct 16, 2015 9:41 am

Please also consider the remote profiling troubleshooting in the Help:
https://www.yourkit.com/docs/java/help/ ... leshooting
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am

Re: Sudden inability to communicate with Profiler Agent

Postby MichaelCohen » Fri Oct 16, 2015 11:36 pm

Looks like it was network issues. I was on a VPN which was apparently having some issues.
MichaelCohen
 
Posts: 12
Joined: Fri Jan 18, 2013 9:41 pm

Re: Sudden inability to communicate with Profiler Agent

Postby Anton Katilin » Mon Oct 19, 2015 9:37 am

Thanks for the notification.
Anton Katilin
 
Posts: 5574
Joined: Wed Aug 11, 2004 8:37 am


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 10 guests

cron