Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an application deployed on WebLogic 10.3, which exhibits a strange behavior.

  • I am running a constant (not too high) load on my application (20 concurrent users, running a light activity).
  • The response time is reasonable (well below 100ms after the application stabilizes)
  • Memory consumption seems fine (My application creates a lot of short-living objects, but they are garbaged collected so the overall memory consumption stays under 500 mb).
  • Threads stats seem healthy as well: Thread Pool

And yet, after I leave my test running for a while, more and more execute threads ("[ACTIVE] ExecuteThread: '3' for queue: 'weblogic.kernel.Default (self-tuning)'") are created, until eventually the application crashes: Threads Creation

This test hasn't been running for a long time (All the new threads that you don't see in the first screenshot were created while I was writing this question), and I've seen much more threads being created.

Any idea why these threads are being created?

share|improve this question
add comment

1 Answer 1

I'd suggest you analyze these by taking a thread dump, so you can see what they're doing before they crash.

Take 4 or 5 sets of thread dumps at an interval of 5 seconds between each. so at the end you will have a single log file which has around 20 - 25 seconds worth of action on the app server.

Then run these through Samurai or TDA (I havent used TDA myself), it will highlight those in Red colour so you can quickly click on it and get to the lines showing issues.

See an example of this here. Look at the Samurai output image in that link. Green is fine. Red and grey need looking at.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.