Add a thread pool
You can create multiple thread pools.
-
Navigate to
.
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) are 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)
-
Click
.
The Add thread pool dialog box is displayed.
- Enter a Name for the thread pool.
-
Select the
Type of thread pool. Available options are:
-
Automatic activity (default): Used in the non-capture automatic activities.
-
Transformation server: Used in the Capture automatic activities.
To set the thread pool size of a Job, see the Kofax TotalAgility Installation Guide. -
- Select a Size (number of threads) for the thread pool. (Default: 16, Maximum: 64)
-
Set the
Urgency (default: 1) to prioritize automatic activities. For example,
prioritize processing new customer loan applications, and 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 are executed 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
Max threshold.
- 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.
- Click Save.