Weblogic Thread Pool Configuration

In my current project we were facing an issue where our SOA application running on weblogic servers runs out of Processing Threads when high load coming and resulted in Active Requests piling up and hence degradation in performance and failure.

On further troubleshooting the issue there is a Oracle Doc ID found 1935014.1 which explains the same issue and suggested to set a MinPoolSize argument for all MS so that threads will be created faster in order to serve incoming request.Hence below are the steps which can be implemented;

  1. Open Weblogic console
  2. go to MS -> Server start -> take the session
  3. Add below values in start up arguments
    -Dweblogic.threadpool.MinPoolSize=100
  4. Restart the server
  5. Same steps needs to be repeated for rest of the MS in the weblogic domain.

Below is the Oracle Doc ID which explains the same problem;

SOA Worker Threads Ramping Up Slowly on Weblogic / Exalogic Platforms (Doc ID 1935014.1)

After setting this value it actually means;
– 100 Threads initially created to serve 100 concurrent request

– When the 101st request comes in (when all 100 threads are processing and no free thread available), then the next 100 threads are created. A total of 200 threads will be available for processing requests.

– When all 200 threads are processing requests and the 201st request comes in, then the next 100 threads are created. A total of 300 threads will be available for processing requests and so on.

So threads are created in batches according to the -Dweblogic.threadpool.MinPoolSize size setting.

Advertisements

About Rahul Jain

Working as an Integration consultant AIA/SOA with around 6 years of experience in integrating, designing, developing software applications. I integrated multiple telecom solutions that include customer relationship management, Billing, Inventory management and order provisioning management system. I am Oracle SOA certified and OCA certified consultant. I am having primary experience in implementing solutions using AIA, SOA, BPEL, ESB and Product Hub for comms. Attended trainings on other Fusion Middleware products OBPMN 11g, SOA suite 11g. Involve in different phases of software Development Viz. analysis, designing, coding and testing of Modules. Also involved in implementing Oracle solution for Telco for maintaining the product catalog i.e. Oracle Product Hub for communications and integrating Oracle Product Hub with CRM and Billing applications. Using this Telco companies can maintain a single repository of all products and then publish these products to end systems with one click. Currently working on integrating Oracle EPPM Primavera with SOA/BPM/ implementation.
This entry was posted in AIA, OHS, SOA, Thread Pool, Uncategorized, Weblogic. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s