Thread Pool

Thread pool is a feature that improves overall system performance by creating a pool of threads which can be independently used by the system to execute multiple tasks at the same time. A task can execute immediately if there is a thread in the pool that is available. If no thread is available, the task waits for a thread to become available from the pool before executing.

The Thread Pool screen is accessed from the Administration menu. It tells you the current state of the Thread Pool and allows you to change four parameters for the Thread Pool. The core pool size, the maximum pool size, the RouteQueue.TimeIncrement and the RouteQueue.maxRetryAttempts.

Figure 8.8. Thread Pool Administration Page

Thread Pool Administration Page

Table 8.7. Thread Pool: Attributes

FieldDescription
Core Pool SizeA positive number equal to the core number of threads in the pool
Maximum Pool SizeA positive number equal to the maximum number of threads in the pool; when the Core Pool Size is larger than the Maximum Pool Size, Maximum Pool Size automatically sets the pool size equal to the Core Pool Size
Pool SizeThe current number of threads in the pool
Active CountThe approximate number of threads that are actively executing tasks
Largest Pool SizeMaximum number of threads allowed in the Thread Pool
Keep Alive TimeThe amount of time which threads in excess of the core pool size may remain idle before being terminated; measured in milliseconds; for example, 60,000 milliseconds = 60 seconds
Task CountNumber of tasks that have been scheduled for execution
Completed Task CountNumber of tasks that have completed execution
Execute Across All Servers with Application ID RICEWhen you click this checkbox, then click the Update button, the update is applied across all servers.
Update buttonClick the Update button to execute the changes you entered in the editable fields above.