Question
PayPal
US
Last activity: 21 Dec 2017 8:21 EST
Will the agent get restarted automatically if there was an unexpected crash during runtime?
If an agents gets stopped at runtime due to an error or an unexpeced crash, Will the agent get restarted automatically or master agent wakes it up?
***Edited by moderator, Maryrita: moved to Product Support from Applications***
***Edited by Moderator Marissa to update categories***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
US
Hi Santosh,
It depends on the type of error occurred, basically for most of the errors it will get restarted by itself automatically.
Regards
Mahesh
PayPal
US
Thanks for the response Mahesh, Appreciated. Are there any documentation on this, if so can you please share?
Pegasystems Inc.
US
I'm not aware of any documentation about what agents will do in case of errors. I think it depends on the error and if the activity being run has been created in a way so that it can complete it's processing if that type of error is encountered.
Pegasystems Inc.
US
Adding to my colleague Nick information i had cross checked this information with our Product specialists and we don't have any documentation regarding this itseems, but this is what the behavior.
Pegasystems Inc.
IN
Hi Santhosh,
Generally/Most of the time agent will run again depending on its schedule after error/crash.
If the error is encountered running application logic via agent, Agent will start for next run unless it has hanged and its requestor is stuck.
If there is system crash then any way node would be rebooted and hence Master Agent would wake up all agent during startup.
Regards,
Ujjwal
PayPal
US
Thank you for the responses, Appreciated!!!
We did our testing and unfortunately this doesn't work as mentioned above.
As per screenshot below, the agent has not run for over three hours. It is scheduled to run every 60 seconds, but it is not even trying to execute the activity again. After a JVM restart there is a recovery, but that is useless, easier just to start the agent in the developer portal or from the SMA.
We have 3 agents configured in our environment for a AgentTester Queue rule. Once the first agent has thrown an exception the other two are never executed. They too, are scheduled to run every 60 seconds, but once an agent from the agent queue fails the entire queue appears to stop processing.
Pegasystems Inc.
IN
Hi Santhosh,
The cross mark indicates that Agent has stopped and needs to be restarted.
In this case it would not run automatically and neither master agent will start it.
Here I think its an exception more than an error which has caused Agent to crash.
Regards,
Ujjwal
JPMorgan Chase & Company
US
Hi,
In this agent won't start automatically, user have to restart the agent.