Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Agents run but agent activities are unsuccessful

SA-16601

Summary



Sporadic issues are experienced where agent does not work as expected. The agents run every 30 sec and picks the data from database table and creates a PRPC case. Agents run as scheduled but the agent activities are not successful.


Error Messages



2015-10-29 01:59:17,464 [egaRULES-MasterAgent] [ STANDARD] [ ] ( engine.context.Agent) WARN - Long running request detected for requestor XXXXXXXXXXXXXXXXXXXXXXXXXXX on java thread PegaRULES-Batch-3 for approximately 1823 seconds -- requesting thread dump.
2015-10-29 01:59:17,468 [egaRULES-MasterAgent] [ STANDARD] [ ] (iveutil.EnvironmentDiagnostics) INFO - --- Thread Dump Starts ---

Thread[PegaRULES-Batch-3,3,main]
java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:140)



Steps to Reproduce



Issue occurs sporadically and there is no specific use case to replicate this behavior.

Root Cause



An issue in the custom application code or rules, agents were working with huge volume of messages to process due to which they got overloaded. As per the PEGA0019 alerts appearing, the agent was running more than KPI threshold (600000) as identified, the highest time was 1823835ms.


Resolution



1. Collect fresh statistics for PC_HISTORY_WORK, PC_LINK_ATTACHMENT, SI_INDEX_WORKPARTY tables and then lock the statistics.
2. Unlock the stats for PR_SYS_QUEUE_SLA table and then collect fresh
statistics.

Published January 31, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us