Thursday, July 05, 2018

StuckThreadMaxTime of "600" seconds In WebLogic

Symptom:

   In weblogic out logs, we see quite a few stuck threads alerts
   Error Stack is like:

<Apr 30, 2018, 11:01:02,922 AM UTC> <Error> <WebLogicServer> <BEA-000337> <[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "637" seconds working on the request "Http Request Information: weblogic.servlet.internal.ServletRequestImpl@49cb4b67[GET /sites/Satellite]
", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
    java.net.SocketInputStream.socketRead0(Native Method)
    java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
    java.net.SocketInputStream.read(SocketInputStream.java:170)
    java.net.SocketInputStream.read(SocketInputStream.java:141)
    oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:759)
    oracle.net.ns.Packet.receive(Packet.java:312)
    oracle.net.ns.DataPacket.receive(DataPacket.java:106)
    oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:306)
    oracle.net.ns.NetInputStream.read(NetInputStream.java:250)
    oracle.net.ns.NetInputStream.read(NetInputStream.java:172)
    oracle.net.ns.NetInputStream.read(NetInputStream.java:90)
    oracle.jdbc.driver.T4CSocketInputStreamWrapper.readNextPacket
(T4CSocketInputStreamWrapper.java:124)
    oracle.jdbc.driver.T4CSocketInputStreamWrapper.read
(T4CSocketInputStreamWrapper.java:80)


Diagnosis:

    The  [GET /sites/Satellite]  is causing problems. First we use web browser to test the url. ie http://test.domain.com/sites/Satellite
     It is possible that bad design of the page causes problem. Open developer tools of browser (Chrome) to check which sections take most of time

   Then we need to check any bad sql queries involved in the Database. Get AWR report and find top consumers.


9 comments:

velraj said...

I got lot of ideas after reading this. Share more as similar to this. Thank you for shared this.
core java training in chennai
core java classes
core javaTraining in Tambaram
c c++ courses in chennai
C Language Training
javascript training in chennai
Appium Training in Chennai
JMeter Training in Chennai

yuvaprithika said...

Nice blog!! I hope you will share more info like this. I will use this for my studies and research.
Angularjs Training in Chennai
Angularjs Course in Chennai
Ethical Hacking Course in Chennai
Tally Course in Chennai
gst training in chennai
salesforce training institute in chennai
Angularjs Certification in Chennai
Angularjs Training in Chennai
Angularjs Course in Chennai

Anbarasan14 said...

Excellent post. Thanks a lot to the author of this post for sharing this with us.

IELTS Coaching in Mulund
IELTS Training in Mulund West
IELTS Courses in Mulund
IELTS Coaching Centres in Mulund
Spoken English Class in Chennai
Spoken English in Chennai
IELTS Coaching in Chennai

Lucky Patcher said...

mobikora apk

tech zone said...

technology whatsapp groups

divya said...

Might you be able to envision what the thing that matters is between the over a significant time span showcasing systems nice page
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai

Aftab Shaikh said...

This was actually helpful thank you so much for sharing this! Gbwhatsapp

KevinRhodes234 said...

I accidentally searched and visited your site. I still saw several posts during my visit, but the text was neat and readable. GBWAMOD

Kairon said...

Great insights on fixing the stuck thread issue! I've faced something similar when dealing with large Game Mod APK APKTodo files. Your tips will definitely help smooth things out!