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

RequestorLockException after SOAP Call and Connect-Wait

SA-97014

Summary



A process is configured with a Connect-SOAP Call set to RunInParallel and Connect-Wait is configured with a value of -1. The process executes successfully on one node, but fails on the second node with RequestorLockException. Howevdr, the SOAP Call completes successfully when run synchronously.
The node which failed, is configured with Background Processing, Search, and Stream as the node type. The working node is configured with Web User as the node type.


Error Messages



com.pega.pegarules.pub.context.RequestorLockException: Unable to synchronize on requestor HRVSBMOVXUUR18N7OAYC81V7ZJ0XKLBQVA within 120 seconds: (thisThread = WebContainer : 4) (originally locked by = WebContainer : 9) (finally locked by = WebContainer : 9)


Steps to Reproduce



Run the process that invokes the SOAP Call and Connect-Wait.


Root Cause



A defect or configuration issue in the operating environment.
The background requestors or threads available were insufficient to execute the SOAP Request asynchronously.

Resolution



Perform the following local-change:

Use the below prconfig value or Dynamic System Setting (DSS) to increase the 'agent/threadpoolsize' and 'services/maxrequestorchildren' settings.

 
prconfig DSS
<env name="agent/threadpoolsize"  value="100" /> prconfig/agent/threadpoolsize/default

Rule – Pega-Engine
 
Value 100
<env name="services/maxrequestorchildren" value="100" /> prconfig/services/maxrequestorchildren/default

Rule – Pega-Engine
 
Value 100

Published July 16, 2020 - Updated December 2, 2021

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