Knowledge Base > Automation Engine and Target Systems > SAP > Stability Problems with SAP Instances occurred when many SAP Agents (RFC connection) were used on one Server

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.

The system issues the error message:

LOCATION CPIC (TCP/IP) on local host ERROR max no. of 100 conversations exceeded


Reason

The number of parallel connections that can be kept in the library is set to 100.


Solution

By setting the environment variables CPIC_MAX_CONV, the library can handle multiple connections at the same time.

Windows: set CPIC_MAX_CONV=<n>
For example, set CPIC_MAX_CONV=500 (for 500 connections)

Unix: setenv CPIC_MAX_CONV <n> ( csh )
For example, setenv CPIC_MAX_CONV 500 (for 500 connections)

Unix: export CPIC_MAX_CONV=<n> ( ksh )
For example, export CPIC_MAX_CONV=500 (for 500 connections)

iSeries: ADDENVVAR ENVVAR(CPIC_MAX_CONV) VALUE(<n>)
For example, ADDENVVAR ENVVAR(CPIC_MAX_CONV) VALUE(500) (for 500 connections)