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
Sudden inability to communicate with Profiler Agent
-
- Posts: 12
- Joined: Fri Jan 18, 2013 9:41 pm
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Sudden inability to communicate with Profiler Agent
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 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 [email protected]
Best regards,
Anton
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>
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 [email protected]
Best regards,
Anton
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Sudden inability to communicate with Profiler Agent
Please also consider the remote profiling troubleshooting in the Help:
https://www.yourkit.com/docs/java/help/ ... leshooting
https://www.yourkit.com/docs/java/help/ ... leshooting
-
- Posts: 12
- Joined: Fri Jan 18, 2013 9:41 pm
Re: Sudden inability to communicate with Profiler Agent
Looks like it was network issues. I was on a VPN which was apparently having some issues.
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Sudden inability to communicate with Profiler Agent
Thanks for the notification.