Integration Server 10.11 | Integration Server Administrator's Guide | Configuring the Server | Managing the Server Thread Pool
 
Managing the Server Thread Pool
To better tune your server's performance, you can configure the minimum and maximum number of threads. The server uses threads to execute services, retrieve documents from the messaging provider, and execute triggers. When the server starts, the thread pool initially contains the minimum number of threads. The server adds threads to the pool as needed until it reaches the maximum allowed. If this maximum number is reached, the server waits until processes complete and return threads to the pool before beginning more processes.
You can also set a warning level for available threads. When the percentage of available threads is equal to or less than the warning level, the server generates a journal log message to alert you to the reduced thread availability. The server generates another journal log message when the number of available threads is greater than the threshold.
To view system threads that are running on the server, go to the Server > Statistics > System Threads page. See Canceling or Killing a Thread for more information.
*To configure the server thread pool
1. Open the Integration Server Administrator.
2. Go to Settings > Resources.
3. Click Edit Resource Settings.
4. Under Server Thread Pool, update the server thread pool settings, as follows:
For this parameter
Specify
Maximum Threads
The maximum number of threads that the server maintains in the server thread pool. If this maximum number is reached, the server waits until processes complete and return threads to the pool before running more processes. The default is 75.
Minimum Threads
The minimum number of threads the server maintains in the server thread pool. When the server starts, the thread pool initially contains this minimum number of threads. The server adds threads to the pool as needed until it reaches the maximum allowed, which is specified in the Maximum Threads field. The default is 10.
Available Threads Warning Threshold
Threshold at which the server starts to warn of insufficient available threads. When the percentage of available server threads equals this percentage, the server generates a Journal log message indicating the current available thread percentage and stating:
Available Thread Warning Threshold Exceeded
The default is 15%.
When you enter a percentage and save your changes, the server automatically calculates the number of threads and displays the number next to the specified percentage.
Tip:
When the percentage of available threads falls below the warning level, you might want to decrease the number of documents the server receives and processes for webMethods messaging triggers. For more information, see Managing webMethods Messaging Triggers.
Scheduler Thread Throttle
Percentage of server threads the scheduler function is permitted to use. The default is 75%.
5. Click Save Changes.