Posted: 10 Sep 2015 0:12 EDT Last activity: 2 Oct 2015 10:53 EDT
Active requestor count displays negative count in the requestor pool
When I was checking the requestor pool, I have found a abnormal behaviour where in active requestors count for an email listener shows negative value. Can someone, please help me understand in which situations this kind of scenario is possible?
Thanks in Advance.
Share this page
Moderation Team has archived post,
This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.
Can you please confirm if you are have configured the SERVICE PACKAGE as "Stateless" and "Unautenticated". If so then when SOAP message service request arrives in PRPC and is processed successfully, the requestor gets “stuck” in an Active state and is not returned to the requestor pool. After 10 messages are processed the Maximum Active requestors limit is reached. When the 11th message is received no more requestors are created and a time out error occurs – “Timed out borrowing service requestor from requestor pool”.
This issue will occur if you are using “context switch” using auth.setUserSecurityProfile in the SERVICE ACTIVITY using the following code implementation: