Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
03-26-2015 07:35 PM
HI all,
I tried to detect JVM Crash events.
First, I configured Policy for JVM Crash as mentioned in documentation like the attachment.
And I started MachineAgent.
I killed JVM with -9 option. Nothing was reorted in Events screen.
When I restarted the JVM, JVM restarted event was displayed.
And when JVM is killed, this message was logged in machine-agent.log file.
[Agent-Monitor-Scheduler-3] 27 Mar 2015 11:34:14,919 INFO SigarAppAgentMonitor - Detected that JVM for PID 15572 is no longer active
My platform is CentOS 5.5 64 bit.
I use JDK 1.6 32 bit version for both AppServerAgent and MachineAgent.
For controller, I use JDK 1.7.0_55 64 bit version.
Can anybody help me to fix this?
Regards,
Scott Kang
03-27-2015 05:48 AM
Hi Scott,
Can you check if information in doc link and section listed below from doc link , is the case here?
https://docs.appdynamics.com/display/PRO40/JVM+Crash+Guard : "If an uninstrumented JVM crash happens within less than a minute of a previous crash then it will not be reported by the Standalone Machine Agent. In some circumstances, the JVM may crash and then be restarted only to crash again within one minute. For this repetitive cycle crash and restart scenario, only the first JVM crash is reported by the agent."
Please send the machine agent logs if you feel otherwise
Regards.
Arun
03-30-2015 08:18 AM
Thank you for your answer.
The JVM I tested is already in the scope of monitoring. The JVM is in the chain of business transactions.
I wanted to test how I can get notifcation from the crash so that I can execute some script.
I think it may be related with some system environments like OS version, system libraries, and etc.
I could not get enough clue from the log of machine agent.
How can I investigate further?
Thanks again.
03-31-2015 06:03 AM
Hi ,
Can you confirm whether the jvm crash case is falling under case description that i listed in previous update Or confirm whether this the case "if an uninstrumented JVM crash happens within less than a minute of a previous crash then it will not be reported by the Standalone Machine Agent"
If not please send the archive version of machie agent logs folder for our initial review ?
Regards,
Arun
04-05-2017 02:08 PM
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form