Such problems are usually caused by a sendSync that is never unlocked
because the target component does not handle the MEP correctly.
*All* jbi exchanges must be terminated with a DONE or an ERROR status.
Check your lightweight and servicemix-bean components you wrote to make
sure they *always* send the exchange back with the correct status.

Note that the settings for configuring thread pools are usually *per*
threadpool.
Which means mostly: each component and each seda queue.  So if you put
1000, this means you'll have roughtly 2 * n * 1000 theads, where n is the number
of JBI components deployed.   Usually, using 32 or 64 is really sufficient.

On Tue, Mar 11, 2008 at 9:02 AM, jbi joe <[EMAIL PROTECTED]> wrote:
>
>  Using the JConsole to figure out why I am getting an
>  "Out of Memory Error" - Unable to create thread
>  After about 3000 async calls to services my servicemix stops
>  processing.  I can see the threadpool grow and grow and grow
>  in the JConsole thread display.   I have several service assemblies
>  that are connected to lw-container that seem to work fine without
>  a heavy load.    I am using ODE BPEL to do both syncronous and
>  asyncronous ME.  Im using version SMX 3.2 and ODE 1.1.1 engine.
>  Under very little load things work OK.  HOWEVER, I never see threads
>  returned to the threadpool.  My JConsole always shows a constant
>  rise till EXHAUSTION.  Any Help greatly appreciated...
>  SHould I be doing some sort of close from the BPEL?  BPEL is always
>  starting the transactions.    The lw-container assemblies are always
>  replying
>  to the "in" message by replying to the "out" portion of the inout ME.   The
>  ODE/BPEL always provides a DONE status upon transaction comletion.
>  Seems the magic number of threads I can do is 3000, albeit I have SMX set to
>  MAX of 1000.  In any case when 3000 is reached I begine getting the
>  "Out of Memory error - Unable to create thread.
>  Again any help greatly appreciated..
>  TIA
>  --
>  View this message in context: 
> http://www.nabble.com/threadpool-overflow-tp15975678s12049p15975678.html
>  Sent from the ServiceMix - User mailing list archive at Nabble.com.
>
>



-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/

Reply via email to