IBM Support

WebSphere Adapter for SAP and/or WebSphere Business Integration Adapter for mySAP.com has exceeded its max number of conversations

Troubleshooting


Problem

The SAP Adapter throws an error, reporting 'ERROR: max no of 100 conversations exceeded'. This error persists until the Adapter instance is recycled.

Symptom

The SAP Adapter fails due to an SAP Java™ Connector fault logged in the 'dev_rfc.trc' file.

Connect to SAP gateway failed
Connect_PM GWHOST=192.168.100.101, GWSERV=3300, ASHOST=192.168.100.101, SYSNR=00
LOCATION CPIC (TCP/IP) on local host
ERROR max no of 100 conversations exceeded
TIME Mon Jan 01 00:00:00 2011
RELEASE 640
COMPONENT CPIC (TCP/IP)
VERSION 3
RC 466
MODULE r3cpic_mt.c
LINE 9705
COUNTER 2

Cause

SAP's Remote Function Call SDK has a default limit of 100 open conversations being open at a single time. If this limit is exceeded the error above is thrown.

Resolving The Problem

This issue can be resolved by the application of an OS level environmental variable called, 'CPIC_MAX_CONV'. This environmental variable can be set to an integer value denoting the new max number of conversations. Consult your SAP BASIS Administrators to determine the correct value to use. This environmental variable also needs to be applied to every machine in your extended SAP landscape, including the machine hosting the SAP Adapter.


SAP Notes recommend trying the following value first:
CPIC_MAX_CONV == 500


Read on into the following SAP Notes for more details and background about how to resolve this issue.


SAP Note 314530 - Number of RFC/CPIC connections for external clients
https://service.sap.com/sap/support/notes/314530


SAP Note 316877 - Maximum number of conversation exceeded
https://service.sap.com/sap/support/notes/316877

[{"Product":{"code":"SSMKUK","label":"WebSphere Adapters Family"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Adapter for SAP","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0;6.2;6.1;6.0","Edition":"WBI;WebSphere","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
15 June 2018

UID

swg21458337