Add a thread pool

  1. On the Home page, click System Settings > Settings.
  2. 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.

  3. Enter the thread pool size for Process Activities.
  4. Enter a Name for the thread pool.
  5. 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.

    Note To set the thread pool size of a Job, see Kofax TotalAgility Install guide.
  6. Enter a Size (number of threads) for the thread pool. (Default: 16, Maximum: 64)
  7. 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.

      Note The minimum urgency value is 1. The maximum urgency value is 32767. Higher values indicate more urgency than lower values.

  8. To set the minimum threshold, enter a value between 1 and 32767 in the Min Threshold box.
  9. 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.
  10. Click Add Add.
  11. Click Save.

    Restart the Kofax TotalAgility Core Worker service for the new thread pool to take effect.