The maxconnect parameter
defines the maximum number of JavaGateway objects
that can be opened at any one time by all the remotely connected Client applications.
maxconnect=<number>- Description
- Set the value in the range 1-1,000,000 to specify the maximum
number of connection manager threads. You might need to set this value
to less than the supported maximum value because of constraints on
memory or other system resources. You can specify that there is no
limit to the number of connection manager threads by setting the value
of maxconnect to -1. For
more information about threading limits, see Threading model.
You can use the ctgstart command
with the -maxconnect option to override the value
of the port parameter. For more information,
see Options on the ctgstart command
This parameter is in the GATEWAY section of the configuration
file.
- Default value
- If this parameter is not specified, the default value is 100.