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.
Table 8.7. Thread Pool: Attributes
Field | Description |
---|---|
Core Pool Size | A positive number equal to the core number of threads in the pool |
Maximum Pool Size | A 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 Size | The current number of threads in the pool |
Active Count | The approximate number of threads that are actively executing tasks |
Largest Pool Size | Maximum number of threads allowed in the Thread Pool |
Keep Alive Time | The 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 Count | Number of tasks that have been scheduled for execution |
Completed Task Count | Number of tasks that have completed execution |
Execute Across All Servers with Application ID RICE | When you click this checkbox, then click the Update button, the update is applied across all servers. |
Update button | Click the Update button to execute the changes you entered in the editable fields above. |