Monday, September 19, 2022

BEA-002936 maximum thread constraint or BEA-000337 [STUCK] ExecuteThread in WebLogic

I come across an issue and found below error message in server log file. As per oracle note Doc ID 1356278.1 this message is only informational and can be safely ignored. But our planning application crashed and we had to restart the services.

####<Sep 8, 2022 11:06:22 AM PDT> <Info> <WorkManager> <SCLWPA2188> <Planning0> <[ACTIVE] ExecuteThread: '29' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1662660382282> <BEA-002936> <maximum thread constraint ASYNC_REP_FLUSH_WM is reached>
####<Sep 8, 2022 11:08:39 AM PDT> <Info> <WorkManager> <SCLWPA2188> <Planning0> <[ACTIVE] ExecuteThread: '31' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1662660519981> <BEA-002936> <maximum thread constraint ASYNC_REP_FLUSH_WM is reached>


In many cases the error may clear after some time. After research I found that WebLogic Server associates some internal work managers whenever a JMS server is created and below are the parameters

weblogic.jms.<JMSServer_NAME>.AsyncPush
Min threads = 1, max threads = unlimited, high fair share

weblogic.jms.<JMSServer_NAME>.Limited
Min threads = 1, max threads = 8, normal fair share.

weblogic.jms.<JMSServer_NAME>.System
Min threads = 1, max threads = unlimited, high fair share.

The work managers will expand up to the max limit and will shrink back when the load returns to normal, however shrinking doesn’t start unless there are few idle state threads.

As you see the work managers have a limited thread count of 8, but this limit is internal and cannot be changed without contacting Oracle support.  

Users may also see STUCK thread issues

Sep 3, 2022 11:23:31 AM EDT> <Error> <WebLogicServer> <abcsystems.orass.com> <server-cc113sp> <[ACTIVE] ExecuteThread: '33' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <45443435326649> <BEA-000337> <[STUCK] ExecuteThread: 45 for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for “550" seconds working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 678511 ms

The root cause Thread gets stuck if it is continually working (not idle) for a set period of time. This time is called the StuckThreadMaxTime, and has a default value of 600 seconds. The stuck thread cannot complete its current work or accept any new work the server logs the message. Note that if all threads gets stuck then server health state will change to either “warning” or “critical”

The stuck thread errors may disappear after some time if you see these errors frequently then you should start tuning to avoid issues. Note that restart will clear these errors.

I would recommend you go to WebLogic configuration and finetune your parameters based upon the current settings such as “Stuck thread max time” and “Stuck Thread Timer Interval”

To fine tune the parameter go to weblogic console à Domain à Environment à Server à <Managed Server> à Configuration > Tuning



Make sure you apply changes and reboot the server for new changes to take into effect. You can also refer below WLS documentation and Metalink note for more details.

WLS documentation : https://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/tuning/TuningExecuteThreads.html
Metalink Note: Note 1302472.1 - Information about STUCK Threads Condition and Tuning in Weblogic Server

Thanks & Regards
http://oracleracexpert.com, Oracle ACE Pro

14 comments:

  1. If you need dissertation conclusion help, look at BEA-002936 maximum thread constraint or BEA-000337 [STUCK] ExecuteThread in WebLogic. These two solutions may be able to assist you in obtaining the desired outcomes.

    ReplyDelete
  2. The contrasts in mens golf outfit in USA and BEA-002936 maximum thread restriction or BEA-000337 [STUCK] ExecuteThread in WebLogic are noteworthy. In the United States, it's all about looking well on the course, but in BEA-002936 maximum thread constraint or BEA-000337 [STUCK] ExecuteThread in WebLogic, it appears that function is the priority.

    ReplyDelete
  3. Leather Bomber Jacketare a great way to add a touch of style to your look and they can also keep you warm in cooler weather.

    ReplyDelete
  4. Look at BEA-002936 maximum thread constraint or BEA-000337 [STUCK] ExecuteThread in WebLogic if you require a medical essay writer . You might be able to achieve your goals with the help of these two solutions.

    ReplyDelete
  5. هل تبحث عن اسعار مواتير المصاعد الايطالية في مصر يوجد في مصر الكثير من الشركات التي تقدم افضل اسعار مواتير المصاعد افضلهم و ارخص الاسعار في مصر تجدها في شركة مصر للمصاعد

    ReplyDelete
  6. This error is typically related to a limit on the maximum number of threads that can be used to execute a program. This limit is imposed to ensure that the system resources grow twitch channel

    ReplyDelete
  7. كتالوج مواسير hdpe قم بالاطلاع على كتالوجات مواسير HDPE المتاحة لتحديد الحجم والشكل المناسب لمشروعك والاستفادة من فوائد هذه المواسير المتميزة.

    ReplyDelete
  8. Dealing with BEA-002936 maximum thread constraint or BEA-000337 [STUCK] ExecuteThread issues in WebLogic can be frustrating. It's like trying to calculate your cumulative GPA without a reliable Cumulative GPA Calculator . The key is finding a balance in thread management, just as in maintaining a good academic standing.

    ReplyDelete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Dealing with BEA-002936 maximum thread constraint or BEA-000337 [STUCK] ExecuteThread in WebLogic can be challenging. I faced this issue while working on my project. Pay for someone to do your assignment if you're struggling. It saved me time and headaches, allowing me to focus on resolving other critical aspects.

    ReplyDelete
  11. Dealing with the BEA-000337 [STUCK] problem in WebLogic has also been a source of consternation for me. It's like attempting to untie a knot in a complicated plot! Checking for deadlocks or long-running threads proved to be an excellent starting point for me. But, hey, don't forget about a childrens book writers. author's patience. I suppose we could all use a little of that!

    ReplyDelete
  12. When seeking online Chemistry class help, I encountered an assignment focused on WebLogic and its benefits. Understanding ExecuteThread in WebLogic is crucial; it manages concurrent requests, optimizing system performance. Exploring its benefits like resource management and scalability could mirror chemical reactions' optimization in Chemistry. Applying this analogy might offer a unique perspective on WebLogic's significance in managing system resources efficiently. If anyone has insights or resources on WebLogic's benefits, especially within the context of managing concurrent requests, it would greatly contribute to enriching my assignment on this topic.

    ReplyDelete