The initworker parameter determines
the number of worker threads that are created on startup that are
available for processing client requests.
initworker=<number>- Description
- Set the value in the range 1 - 1,000,000 to specify the initial
number of worker threads. This value should equal the number of concurrent
requests that the Gateway daemon is
expected to process. However, you might need to set this number to
less than the maximum supported value because of constraints on memory
or other system resources.
You can use the -initworker option
to override the value of the initworker 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 1.
- Configuration Tool
- In the Configuration Tool, you can set the value of initworker in
the Initial number of worker threads field
in the Resources tab of the Gateway
daemon settings page.