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.

heap dump failed

Moderators: Vladimir Kondratyev, Anton Katilin

heap dump failed

Postby kideok » Fri Jan 03, 2020 5:38 am

Issue:
I connected remote docker container running on ec2 instance to capture mem snapshot.
When I try to capture it, YourKit program returned below error message.
https://www.evernote.com/l/ATG3uoj8ActOv4768cUmZEqeiYDKYt6X7tk
And, ec2 was suddenly terminated with below message.
State transition reason: User initiated (2020-01-03 02:56:17 GMT)
State transition reason message: Client.UserInitiatedShutdown: User initiated shutdown


Run Environment:
- use YourKit-JavaProfiler-2019.8
- use docker container on ec2 instance.
- start agent with option:
    -agentpath:.../bin/linux-x86-64/libyjpagent.so=listen=all
    -agentpath:.../bin/linux-x86-64/libyjpagent.so=_socket_timeout_ms=60000
- start profiler program with option: (~.yjp/ui.ini)
    -Dyk.controller.connect.timeout.ms=60000
    -Dyk.controller.read.timeout.ms=60000

Please let me know if you have any comments.
Thank you.
kideok
 
Posts: 1
Joined: Fri Jan 03, 2020 5:14 am

Re: heap dump failed

Postby Vladimir Kondratyev » Fri Jan 03, 2020 4:12 pm

Profiler agent cannot terminate EC2 instance. Is it reproducible? Most probably snapshot capturing takes a long time and profiler UI disconnects by timeout. This is absolutely harmless and you should be able to re-connect to profiled application as soon as snapshot is written to disk.

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Vladimir Kondratyev
 
Posts: 1512
Joined: Tue Aug 10, 2004 7:52 pm
Location: Düsseldorf, Germany


Return to Java Profiler

Who is online

Users browsing this forum: No registered users and 1 guest

YourKit uses cookies and other tracking technologies to improve your browsing experience on our website, to show you personalized content and targeted ads, to analyze our website traffic, and to understand where our visitors are coming from.

By browsing our website, you consent to our use of cookies and other tracking technologies in accordance with the Privacy Policy.