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

Attaching profiler agent to Fuse-ESB-6.3.0

Moderators: Vladimir Kondratyev, Anton Katilin

Attaching profiler agent to Fuse-ESB-6.3.0

Postby PankajKalwar » Thu Aug 22, 2019 10:56 am

Hi,

I am trying to configure yourkit profiler on Fuse-ESB-6.3.0.

I didn't find any configuration on which I can define my agentPath and all.

Can anyone help to configure the same.

Regards,
Pankaj
PankajKalwar
 
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby Anton Katilin » Fri Aug 23, 2019 7:28 am

Hello Pankaj

Is there a way to specify Java options such as -Xmx or -Dproperty=value? The -agentpath should be specified among them.

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

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby PankajKalwar » Fri Aug 23, 2019 8:07 am

Hi Anton,

I have configured it in the JVM options present in the Fuse-containers configuration using command line.

there I have mentioned the below properties,

-Dfile.encoding=UTF-8 -Duser.timezone=UTC+01:00 -Xmx4096M -agentpath:/apps/urkit/YourKit-JavaProfiler-2019.1/bin/linux-x86-64/libyjpagent.so=delay=10000,port=10002,listen=all

agnetpath details is properly defined ?

Because from YourKit UI, I can see the server on the list but getting below message while connecting it.

"
There's no application running at 127.0.0.1 with profiler agent configured to listen on port 57578 or profiler agent is incompatible with current version of profiler

Detail:

n/a
"

P.s. > Version - Yourkit Java Profiler 2019.1-b112

Regards,
Pankaj
PankajKalwar
 
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby Anton Katilin » Fri Aug 23, 2019 8:41 am

P.s. > Version - Yourkit Java Profiler 2019.1-b112

Version 2019.1 is not supported, please use the latest version 2019.8:
https://www.yourkit.com/download/
If you need v2019.1 please use its latest build #133.
https://www.yourkit.com/download/archive.jsp

-agentpath seems correct.

Please see remote profiling troubleshooting instructions here:
https://www.yourkit.com/docs/java/help/ ... ection.jsp

Because from YourKit UI, I can see the server on the list

Is it with green or orange circle?
Anton Katilin
 
Posts: 5816
Joined: Wed Aug 11, 2004 8:37 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby PankajKalwar » Fri Aug 23, 2019 9:11 am

Is it with green or orange circle?


This seems green when I attach servers PID with attach.sh <pid> <serveroptions>

Can I use my license on latest version? if so, I have to deactivate the existing and than use the license on the newer version ?

Regards,
Pankaj
PankajKalwar
 
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby Anton Katilin » Fri Aug 23, 2019 10:01 am

Can I use my license on latest version? if so, I have to deactivate the existing and than use the license on the newer version ?
Please contact sales@yourkit.com and specify your license key.
Anton Katilin
 
Posts: 5816
Joined: Wed Aug 11, 2004 8:37 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby Anton Katilin » Fri Aug 23, 2019 10:02 am

This seems green when I attach servers PID with attach.sh <pid> <serveroptions>

This means you have loaded the agent with the remote attach wizard.
Please try the latest version with the evaluation license if your license doesn't work.
Anton Katilin
 
Posts: 5816
Joined: Wed Aug 11, 2004 8:37 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby PankajKalwar » Fri Aug 23, 2019 10:45 am

Hi Anton,

Means, I have to detach my agent ?
If so, how to detach agent ?

And than I have to restart the server with agentpath ?

Considering license, if it works with existing than do I really required to download a latest one ?

Regards,
Pankaj
PankajKalwar
 
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Postby Anton Katilin » Mon Aug 26, 2019 8:52 am

Hello Pankaj
Means, I have to detach my agent ?
If so, how to detach agent ?
No. There is no such thing as agent detach. The agent can be loaded either way, from start or attached to a running process.

And than I have to restart the server with agentpath ?
To apply -agentpath the server should be restarted, of course.

Considering license, if it works with existing than do I really required to download a latest one ?
If the newest version works with your existing license, just use it.

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

cron