Weblogic. kernel. Default (Self-tuning)

Source: Internet
Author: User

Statement: the cause of this problem is the program, network, and WebLogic settings. This article mainly describes the solutions caused by Weblogic settings.

Because:

1. Program problems need to be solved by the project itself, and WebLogic does not have to be optimized.

2. You cannot use WebLogic to handle network interruptions or disable interactions (I think so)


I. Description:

, "Weblogic. kernel. Default" is the queue name of the thread generated after the client submits the request. The number of threads in this queue is 15 by default. If more than 15 threads are blocked, the deployed application cannot be accessed. At the same time, the background reports:
<09:37:48 P.M. CST> <error> <weblogicserver> <BEA-000337> <executethread: '14' for queue: 'weblogic. kernel. default 'has been busy for "1,720" seconds working on the request "http request:/MyApp/test/index. JSP ", which is more than the configured time
(Stuckthreadmaxtime) of "600" seconds.>
2. Number of threads (tread count): number of threads assigned to the weblogic. kernel. Default queue. If you do not need to use more than 15 threads (default), you do not need to change this attribute value.

If many requests are sent, WebLogic threads may be blocked and WebLogic suspension may occur.
You can solve the problem by using the following methods:

1) modify the stuckthreadmaxtime parameter and change the default value of 1200 s to s or other suitable values.
2) Increase the number of threads to prevent thread blocking.
3) Optimize the program to reduce the processing time.

Ii. Modification Method

-------------------------------------- When there are too many threads, too many threads please refer to the following link for more information ---------------------------

1) how to modify the stuckthreadmaxtime parameter value: http://lujinan858.iteye.com/blog/986237

Start the Weblogic service and go to the console:

Your_domain-> environment-> servers-> your_server-> Configuration-> tuning-> stuck thread Max time

For example:

2) how to increase the number of threads

 

Modify the [Bea] \ user_projects \ Domains \ my_domain \ bin \ setdomainenv. CMD file in the window environment and query the following set java_options = % java_options %

Changed:

Set java_options = % java_options %-dweblogic. threadpool. minpoolsize = 50
Set java_options = % java_options %-dweblogic. threadpool. maxpoolsize = 300



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.