Attaching profiler agent to Fuse-ESB-6.3.0

Questions about YourKit Java Profiler
Post Reply
PankajKalwar
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Attaching profiler agent to Fuse-ESB-6.3.0

Post by PankajKalwar »

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

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by Anton Katilin »

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
PankajKalwar
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by PankajKalwar »

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

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by Anton Katilin »

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?
PankajKalwar
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by PankajKalwar »

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

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by Anton Katilin »

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 [email protected] and specify your license key.
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by Anton Katilin »

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.
PankajKalwar
Posts: 4
Joined: Thu Aug 22, 2019 10:51 am

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by PankajKalwar »

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

Re: Attaching profiler agent to Fuse-ESB-6.3.0

Post by Anton Katilin »

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
Post Reply