[jboss-user] [Performance Tuning] - Re: Thread pools configuration

vijaychhipa do-not-reply at jboss.com
Sat Mar 29 09:21:27 EDT 2008


Hi 
I am having the same problem.
I am running JBoss 4.0.5GA on JDK 1.5 and JBoss Portal 

I have hundreds on threads in the TIMED_WAITING status. Once they get in to this status they never come out of it.

  | Thread Group: JBoss Pooled Threads : max priority:10, demon:false
  | 
  |     Thread: WorkManager(3)-1 : priority:5, demon:true, threadId:40, threadState:WAITING, threadLockName:EDU.oswego.cs.dl.util.concurrent.Semaphore at 1896f04d
  | 
  |         java.lang.Object.wait(Native Method)
  |         java.lang.Object.wait(Object.java:474)
  |         EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
  |         EDU.oswego.cs.dl.util.concurrent.SemaphoreControlledChannel.take(SemaphoreControlledChannel.java:131)
  |         org.jboss.resource.adapter.mail.inflow.NewMsgsWorker.run(NewMsgsWorker.java:75)
  |         org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
  |         org.jboss.
  | 
  | util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
  |         EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
  |         java.lang.Thread.run(Thread.java:595)
  | 
  | 
  | 

OR 


  | Thread: UIL2(SocketManager.MsgPool at 60528e27 client=10.1.12.233:52183)#1 : priority:5, demon:true, threadId:91, threadState:TIMED_WAITING, threadLockName:EDU.oswego.cs.dl.util.concurrent.LinkedNode at 76f2e414
  | 
  |     java.lang.Object.wait(Native Method)
  |     EDU.oswego.cs.dl.util.concurrent.SynchronousChannel.poll(SynchronousChannel.java:353)
  |     EDU.oswego.cs.dl.util.concurrent.PooledExecutor.getTask(PooledExecutor.java:723)
  |     EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:747)
  |     java.lang.Thread.run(Thread.java:595)
  | 
  | 

Only solution I have so far, is to restart JBoss app server. 


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4139819#4139819

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4139819



More information about the jboss-user mailing list