Support Article

Agent is not running on multinode environment



On production environment, agent appears to be running in SMA, but the timestamp is not getting updated. And cases are not getting created.

Error Messages

"RMI TCP Connection(16870)-XXXXXXXXXXXXX" Id=7390 in BLOCKED on lock=com.pega.pegarules.session.internal.async.AgentQueue@4285c3ee
     owned by RMI TCP Connection(16869)-XXXXXXXXXXXX Id=7405
BlockedCount : 1, BlockedTime : -1, WaitedCount : 14, WaitedTime : -1
    at com.pega.pegarules.session.internal.async.AgentQueue.restart(
    at com.pega.pegarules.session.internal.async.Agent.restartQueue(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(

Steps to Reproduce

Not Applicable

Root Cause

A defect in Pegasystems’ code or rules the thread which was trying to restart the agent got blocked and since it was holding lock on AgentQueue, other threads went stalled, waiting for the agent thread to complete


Increase the thread pool size.

The behavior is generic to threads being blocked which happens intermittently, however to handle the agent Mutual exclusivity there is a user story created which is scheduled to be implemented in Pega 7.2.2.

​ For time being on Pega 7.2 increased thread pool size would suffice.


Published July 19, 2016 - Updated August 11, 2016

Have a question? Get answers now.

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