Stability Problems with SAP Instances Occurred When Many SAP Agents (RFC Connection) Were Used On One Server
Symptom
The external RFC/CPIC server cannot open additional connections.
SAP Agent log gets errors like the following:
20180204/043157.954 - LOCATION CPIC (TCP/IP) on local host with Unicode
20180204/043157.954 - ERROR max no of 202 conversations exceeded
20180204/043157.954 - TIME Sun Feb 4 04:31:57 2018
20180204/043157.954 - RELEASE 721
Reason
The number of parallel connections that can be kept in the library is not set high enough.
Solution
Start the application (in this case Automic SAP Agent) with the following parameter:
-Djco.cpic_maxconv=500
For example:
/usr/bin/java -jar -Xrs -Xms1024M -Djco.cpic_maxconv=500 /app/uc4/agents_v12/sap/bin/ucxjr3x.jar