I have selected Asynchronous Execution Mode in the Service File associated with the File Listener. File Listener config options- Record at a Time. In Performance Testing, a sample file with 15k-30k records in it, was used for Testing. The Listener started execution but eventually it stopped and below error messsaage started appearing multiple times in PegaRULES log "Timed out borrowing service requestor from requestor pool for service package, Listener 'Data-Admin-Connect-FileListener:ListenerName.(com.pega.pegarules.integration.engine.internal.services.file.FileListener)/0' failed to start because of the following error: Failed to launch listener, com.pega.pegarules.pub.PRException: Timed out borrowing service requestor from requestor pool for service package I checked the Requestor Pool associated with the Service Package in SMA, timeouts count were around 1.5k Service Package config :- Processing Mode :- Stateless Maximum Idle Requestor : 20 Maximum Active requestor : 20 Maximum wait (in seconds) : 20 Please suggest the required config changes to make this File Listener work properly in Async Mode. Any headsup is appreciated Note :- In Synchronous mode, with 15K records this File Listener was used and it worked without any issues. Also i have Service JMS file associated with a JMS MDB Listener, similar to this File Listener, what config is required to support Async Mode of Execution. It would be of Great Help, if that can be suggested too.!!
***Edited by Moderator: Pallavi to update platform capability tags***
Listener starts initially and waits for "Maximum wait seconds" specified in the service package(20secs in your scenario) for a Requestor to process the file. If a requestor is not available for the listener within 20 secs it will throw the mentioned error. You can increase the Maximum Active Requestor to some higher value or increase the Maximum wait seconds.