geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dain Sundstrom <d...@iq80.com>
Subject Re: CORBA eating threads
Date Thu, 02 Jun 2005 15:14:51 GMT
On Jun 2, 2005, at 6:45 AM, Jeremy Boynes wrote:

> The CORBA implementation consumes 9 threads from the pool which  
> with default settings can cause the EJB transport to hang.
>
> What is it using these threads for? Is there some bug which  
> prevents them being returned to the pool, or are these permanent  
> threads it needs and if so shouldn't it be allocating them directly?

It is pretty simple.  The each CSS Bean deployed acquires 2 threads,  
one for the name service orb and one to start the css orb, and the  
CORBABean consumes one thread.  We have 4 CSS beans deployed and one  
CORBABean giving us a total thread usage of 9.  You can see the  
thread dump below.

-dain

DefaultThreadPool 8@1b prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():233, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 7@1c prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():222, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 6@1d prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():233, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 5@1e prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():222, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 4@1f prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():233, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 3@20 prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():222, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 2@21 prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():233, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 1@22 prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():222, CSSBean.java
       run():-1
       run():552, Thread.java

DefaultThreadPool 0@31 prio=5, in group "main", status: WAIT
       wait():-1, Object.java
       wait():429, Object.java
       run():2521, ORB.java
       run():158, CORBABean.java
       run():-1
       run():552, Thread.java


Mime
View raw message