Add a thread pool
The Thread pools dialog box is displayed.
A default thread pool (Default Thread Pool) for non-capture automatic activities, and a default thread pool for capture activities (Transformation Server Thread Pool) is available in the list. You cannot modify the name or delete the default thread pools; however, you can change their other settings.
- Select the thread pool size for Process activities. (Default: 20)
The Add thread pool dialog box is displayed.
- Enter a Name for the thread pool.
Type of thread pool. Available options are:
Kofax TotalAgility Installation Guide.To set the thread pool size of a Job, see the
Automatic activity (default): Used in non-capture automatic activities.
Transformation server: Used in capture automatic activities.
- Select a Size (number of threads) for the thread pool. (Default: 16, Maximum: 64)
Urgency (default: 1) to prioritize automatic activities. For example,
prioritize processing new customer loan applications, push loan forms of new customers through the system faster than those of
existing customers by setting up a 'New Customer' thread pool. Only when all the execution threads in a thread pool are active do
automatic activity requests appear in the thread pool queue (TPQ).
Setting the urgency ensures greater throughput during periods of heavy load on the System.
When the number of entries in the TPQ is greater than the maximum threshold, the system inactivates thread pools with lower urgency; no further requests are executed on these lower-urgency threads. Activities with higher urgency execute first.
When the number of entries on TPQ is less than the minimum threshold, the system reactivates lower-urgency thread pools and restores the system to normal.The minimum urgency value is 1 and the maximum urgency value is 32767. Higher values indicate more urgency.
- To set the minimum threshold, set a value between 1 and 32767 for Min threshold.
To set the number of activities that a thread pool queue can contain before it starts taking priority over thread
pools with lower urgency settings, set a value for
- If both minimum and maximum threshold settings are set to 0, the thread pool cannot suspend thread pools of lower urgency but can be suspended by thread pools of a higher urgency.
- The Size, Urgency, Min Threshold and Max Threshold properties do not apply to Transformation Server thread pools.
- Click Add.
Restart the Kofax TotalAgility services for the new thread pool to take effect.