[jboss-user] [JBoss Remoting] - Too many thread in Jboss 4.2.2

Sebastien Degardin do-not-reply at jboss.com
Tue Jun 8 15:28:50 EDT 2010


Sebastien Degardin [http://community.jboss.org/people/sebastiendeg] created the discussion

"Too many thread in Jboss 4.2.2"

To view the discussion, visit: http://community.jboss.org/message/546880#546880

--------------------------------------------------------------
Hi,

We have many Jboss servers talking to each other using EJB 3.0 (SLSB). 
Now that the servers are getting very busy, we are having problem with Jboss creating too many Threads.
At some point, we have an exception when it can't create native Threads anymore.


It seems to be due to remoting as it does happens when we do load testing from the client.
looking at the jboss web-console, most of the Thread are as follow :

*
*

*Thread: Timer-896496* : priority:5, demon:true, threadId:1114825, threadState:WAITING, lockName:java.util.TaskQueue at 4c8113f8
> java.lang.Object.wait(Native Method)
> java.lang.Object.wait(Object.java:485)
> java.util.TimerThread.mainLoop(Timer.java:483)
> java.util.TimerThread.run(Timer.java:462)
> 
*Thread: Timer-896497* : priority:5, demon:true, threadId:1114826, threadState:WAITING, lockName:java.util.TaskQueue at 6d5199b5

> java.lang.Object.wait(Native Method)
> java.lang.Object.wait(Object.java:485)
> java.util.TimerThread.mainLoop(Timer.java:483)
> java.util.TimerThread.run(Timer.java:462


They are found under the group :


*Thread Group: main* : max priority:10, demon:false
> *Thread: DestroyJavaVM* : priority:5, demon:false, threadId:9, threadState:RUNNABLE, lockName:null
> *Thread Group: jboss* : max priority:10, demon:false



Any idea how we could get rid of these Thread or limit the time they live ?
Thanks.
Sebastien

--------------------------------------------------------------

Reply to this message by going to Community
[http://community.jboss.org/message/546880#546880]

Start a new discussion in JBoss Remoting at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2050]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20100608/2694e060/attachment.html 


More information about the jboss-user mailing list