Sunday, 19 February 2017

BEA-000402

Here's how you get this to work:

1. Set ThreadPoolSize
ThreadPoolSize is a java parameter that is used to calculate the max Socket readers. Set it via -Dweblogic.ThreadPoolSize

2. Set ThreadPoolPercentSocketReaders

ThreadPoolPercentSocketReaders can be set via weblogic.WLST or otherwise.

3. Set SelfTuningThreadPoolSizeMin == ThreadPoolSize

Unless you increase your default thread pool size, your server will have a slow ramp-up, serving clients. Set this to equal the ThreadPoolSize. You can only do this via WLST.

The following example sets this up so that you have a floor of 50 socket readers

connect()
edit()
startEdit()
cd('/Servers/YOUR_SERVER_NAME')
set('SelfTuningThreadPoolSizeMin',100)
set('ThreadPoolPercentSocketReaders',50)
save()
activate()
disconnect()
exit()

No comments:

Post a Comment