Show TOC

Changing the Maximum Number of Clients: Option -CLocate this document in the navigation structure

You can set the maximum number of clients. The default setting is 800, the maximum value is 2039. Two clients correspond to one connection. This means there are a maximum of 400 connections in the default setting. The maximum number of connections is 1019.

If you want more connections than the maximum (1019), you can "move" SAProuter to another port with option -p and start a new SAProuter on this port.

Start SAProuter with the following option to set the number of clients:

  • UNIX/Windows:saprouter -r -C <number of clients>
  • IBM i:saprouter '-r -C <number of clients>'

Example

If you want to run 1000 connections with your SAProuter, start SAProuter as follows:

UNIX/Windows:saprouter -r -C 2000

IBM i:call saprouter ( '-r' '-C' '2000' )

Note

The limitations set here only apply if smaller values for the number of connections have not been set in the operating system. Therefore you must take the operating system parameters into consideration. As of SAProuter version 37 significant higher values are possible, up to 16000 (with the exception of IBM i). But make sure that only one thread process is involved. For this reason having more than about 1000/1500 clients is not at all practical. With many connections you can work better with option -Y <n>, which distributes the connections across several processes.