Dynamic Allocation or Reallocation of
Resources
Use this procedure to define how quickly the thread system releases the allocated but unused system resources, that is, for how long idle threads exist before exiting.
The ThreadsIdleTimeoutproperty specifies the time each thread is trying to obtain a new task for processing. If the total number of threads is equal to MinThreadCount, the idle thread tries to obtain a task for processing until the ThreadsIdleTimeout again elapses. If the thread is still idle after this time elapses and the total number of threads is within the [MinThreadCount, MaxThreadCount] range, the idle thread exits.
...
1. Start the Config Tool.
2. Choose cluster-data→ template → instance - <n> → managers → ThreadManager or ApplicationThreadManager.
3. From the list of properties, select ThreadsIdleTimeout.
4. In the Custom value field, set the required value.
5. To apply the new value, choose Set.
6.
To save the
changes, choose
Apply
Changes.
7. For the changes to take effect, restart the cluster.