Support Article

Too many open files error while invoking REST Connector



The user is using Pega 7.2.1 with Event Strategy Manager ML-8. They reported observing "Too many open files" error messages while running of a large number of REST connectors. The number of file descriptors in the environment is set to more than 1 Million but still they are seeing error related to file descriptors.

Error Messages

[459327] SendEvent ================================== Caught unhandled exception: Too many open files occurred while sending 00000000R3B90B3======================================================

Steps to Reproduce

  1. Run a large number of REST connectors.

Root Cause

An issue in the custom application code or rules is identified as root cause.


Perform the following local-change:
  1. Check the "Maintain Session" option on Connect-REST rule form. If we check this option, it will have a group of connections share a session and state is maintained between the connections. The client will try to reuse the client object for the calls using a HTTP token passing mechanism.

Published April 27, 2017 - Updated April 29, 2017

Have a question? Get answers now.

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