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 -imaxconnect option
to override the value of the maxconnect parameter.
For more information, for Windows see, ctgservice command reference, and for UNIX and Linux see, ctgstart command reference.
This
parameter is in the GATEWAY section of the configuration file.
- Default value
- If this parameter is not specified, the default value is 100.
- Configuration Tool
- In the Configuration Tool, you can set the value of maxconnect in
the Maximum number of Connection Manager threads field
in the Resources tab of the Gateway
daemon settings page. You can also set the value of maxconnect to
-1 by selecting the Unrestricted check box associated with
the Maximum number of Connection Manager threads field.
- CICS Transaction Gateway
Desktop Edition
- The maximum value for this parameter is 5.