Tuning The Self Tuning Thread Pool
WebLogic 9.X onwards, it is documented that WebLogic auto tunes thread pool with target to achieve maximum throughput. In most cases it is not required tune the self tuning thread pool, however under certain situations , it is desirable to initialize thread pool with minimum number threads.
Following undocumented xml elements in config.xml allows to configure minimum and maximum threads for self tuned thread pool.
--------------------------------------------------
--------------------------------------------
This knobs should be used very carefully to make sure it doesn't invalidate benefits of the self tuning thread pool. While thread-pool-size-min configuration is justified in certain situation, it is very difficult to imagine scenario where thread-pool-size-max is required.
Following undocumented xml elements in config.xml allows to configure minimum and maximum threads for self tuned thread pool.
--------------------------------------------------
<server>
<name>examplesServer</name>
<self-tuning-thread-pool-size-min>50</self-tuning-thread-pool-size-min>
<self-tuning-thread-pool-size-max>100</self-tuning-thread-pool-size-max>
<ssl>
<name>examplesServer</name>
<enabled>true</enabled>
<listen-port>7002</listen-port>
</ssl>
<listen-address/>
</server>
--------------------------------------------
This knobs should be used very carefully to make sure it doesn't invalidate benefits of the self tuning thread pool. While thread-pool-size-min configuration is justified in certain situation, it is very difficult to imagine scenario where thread-pool-size-max is required.