cancel
Showing results for 
Search instead for 
Did you mean: 

JCo Connections in WD Model running out

0 Kudos

Hello,

we have WD application that uses RFC model.

During a load test we have observed that the connection

pools are running out of JCo connections. The result is a an error message in the trace file

and Http 500 response code to the end user.

Number of concurrent users: 20

Max Pool Size: 20

Max Connections: 20

Exception:

[code]aused by: com.sap.mw.jco.JCO$Exception: (106) JCO_ERROR_RESOURCE: Connection pool ME_LP_MODELDATA_TSTWEB1_PT_useSSO is exhausted. The current pool size limit is 20 connections.

at com.sap.mw.jco.JCO$Pool.getClient(JCO.java:5150)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5849)

at com.sap.mw.jco.JCO$PoolManager.getClient(JCO.java:5799)

at com.sap.mw.jco.JCO.getClient(JCO.java:8076)

at com.sap.tc.webdynpro.serverimpl.core.sl.AbstractJCOClientConnection.getClient(AbstractJCOClientConnection.java:393)

at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModel.getCurrentlyUsedJcoClient(AiiModel.java:191)[/code]

Questions:

Is it necessary to have equal number of Max Connections as

number of potential concurrent users?

Or is there a way to manually release not used connections?

Best Regards, Maik

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

It is not necessary to create as many connections as there are concurrent users.

We have to handle the scope of the connection properly and also close the connections once we complete the task.

Regards

Bharathwaj

Answers (0)