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.

Connection to your kit keep crashing

Moderators: Vladimir Kondratyev, Anton Katilin

Connection to your kit keep crashing

Postby avi » Sun Nov 19, 2017 10:51 am

Hi,
I am using yourkit 1.8.0.112 (64). I am trying to connect to remote machine .
I am running the project with
Code: Select all
-XX:+StartAttachListener
option and then attaching to the process
Code: Select all
sudo bin/yjp.sh -attach 17130
. it seems that it connectected and even shows data and after couple of minutes the connection crashed Image: https://drive.google.com/open?id=1IRKFlYr59NrisPc3nmPguMmQtG4SBN7r . Worth to mention that there are two attached processes on that machine - is that a problem? please advise
avi
 
Posts: 3
Joined: Sun Nov 19, 2017 10:32 am

Re: Connection to your kit keep crashing

Postby Anton Katilin » Sun Nov 19, 2017 12:05 pm

Could you please provide the profiler agent log file <user home>/.yjp/log/<session name>-<log>.log

Please note that instead of attaching the agent to a running JVM you may start the JVM with the agent: https://www.yourkit.com/docs/java/help/attach_agent.jsp
Anton Katilin
 
Posts: 5575
Joined: Wed Aug 11, 2004 8:37 am

Re: Connection to your kit keep crashing

Postby avi » Sun Nov 19, 2017 12:30 pm

actually I do not see any log files as described.
avi
 
Posts: 3
Joined: Sun Nov 19, 2017 10:32 am

Re: Connection to your kit keep crashing

Postby avi » Sun Nov 19, 2017 12:44 pm

Anton Katilin wrote:Could you please provide the profiler agent log file <user home>/.yjp/log/<session name>-<log>.log

Please note that instead of attaching the agent to a running JVM you may start the JVM with the agent: https://www.yourkit.com/docs/java/help/attach_agent.jsp


@Anthon
My bad found the file, you can find it here: https://drive.google.com/open?id=1oLxx0f6yRrO3IiZmRNLZrWUKvAyv8_SD

Regarding starting the jvm with agent is relevant to local environment isn't it ? I am running the profiler on remote
avi
 
Posts: 3
Joined: Sun Nov 19, 2017 10:32 am

Re: Connection to your kit keep crashing

Postby Anton Katilin » Sun Nov 19, 2017 8:20 pm

Hello,

My bad found the file, you can find it here: https://drive.google.com/open?id=1oLxx0 ... UKvAyv8_SD

It's likely a user mismatch problem. Under which user do you run the process which you want to profile?

Please try attaching without "sudo".

Regarding starting the jvm with agent is relevant to local environment isn't it ? I am running the profiler on remote

You can start an application with the profiler agent on a remote host as well:
https://www.yourkit.com/docs/java/help/ ... remote.jsp

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


Return to Java Profiler

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 12 guests