cancel
Showing results for 
Search instead for 
Did you mean: 

RFC Destination parameters - max pool size, max wait time, max connections

Former Member
0 Kudos

Hi!

In a Java program (Adapter Module) running on the SAP J2EE Server of PI 7.1 we are using the Destination Service API to perform ABAP function modules calls via JCo. In the Java Engine we used NWA to define a destination to the ABAP system with a technical user:

NWA -> Configuration Management -> Security -> Destinations

No we are asking us what the following destination parameters do EXACTLY mean (SAP docu says nothing about that):

Max Pool size : 5

Max connections : 10

Max wait time : 10 sec

(the values given above are the SAP default values when we created the RFC destination).

Above all what is the relationship between Max Pool Size and Max Connections.

Additionally: How should/must we set these values when we are expecting:

- 100 concurrent users

- 500 concurrent users

and what are the consequences concerning harware resource consumption.

Thanx for any hints!

Regards,

Volker

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The pool size, wait time and no of connections can be elabortaed as below

Pool Size :

Its a set of client-connections for specific destinations. The pool may automatically create new connections to the specified remote system or return an already existing one. If the connection is no longer used then it will be back in pool.

This way it verifies periodically which connections are utilized and which one need to be closed. It makes the efficient system resource utilization.

Max connections:

This is the restrictions on no of possible connections within Pool.

Wait Time:

If in case all the connections were utilized then the wait time will be alloted for the client to establish new connection. If this time limit exceeded, then wer get connection failuer errors some time.

Thanks

Swarup

Former Member
0 Kudos

Hi!

Thanx for your answer. But what I do not understand is the inter-relationship between max connections and pool-size.

If pool-size limits the connections to e.g. 5, what sense does it make to define a max connection value of 10 for that pool (both SAP standard values)? What is the difference here?

Thank you for helping a stupid reader ....

Regards,

Volker

Answers (1)

Answers (1)

Former Member
0 Kudos

Issue goes on in another post.