Add a thread pool
See Thread pools.
- On the Home page, click .
-
Click the
Thread Pool tab.
A default thread pool (Default Threadpool) for non-capture automatic activities and a default thread pool for capture activities (Transformation Server Threadpool) is available in the list. You cannot modify the name or delete the default thread pools, however, you can change their other settings.
- Enter the thread pool size for Process Activities.
- Enter a Name for the thread pool.
-
On the
Type list, select either
option:
-
Automatic Activity: This type of thread pool is used in non-capture automatic activities.
-
Transformation Server: This type of thread pool is used in capture automatic activities.
Kofax TotalAgility Install guide.To set the thread pool size of a Job, see -
- Enter a Size (number of threads) for the thread pool. (Default: 16, Maximum: 64)
-
Configure
Urgency 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. The maximum urgency value is 32767. Higher values indicate more urgency than lower values.
-
- To set the minimum threshold, enter a value between 1 and 32767 in the Min Threshold box.
-
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, enter a value in the
Max Threshold box.
Note the following:
- 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.
Restart the Kofax TotalAgility Core Worker service for the new thread pool to take effect.