Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » SeMantic Information Logistics Architecture (SMILA) » From where comes all the listener threads?
From where comes all the listener threads? [message #663437] Tue, 05 April 2011 05:06 Go to next message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
Hello,

we play around with the queue worker listener threads that receives messages from the internal queue and execute the workflow.

If we set the number of these threads to 0, there are several QueueWorker-Listener that remain alive. We don't know where these threads come from.

We have also noticed that we have more listener threads then we want to create. If we set the number of listener threads to 4 we have at least 10 additional queue worker listener threads. We evaluate this with VisualVM.

Have you an idea where the additional threads are created?
Re: From where comes all the listener threads? [message #663452 is a reply to message #663437] Tue, 05 April 2011 07:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: juergen.schumacher.attensity.com

Good morning...

Am 05.04.2011, 07:06 Uhr, schrieb SMILANewBee <nils.thieme@unister.de>:
> Hello,
>
> we play around with the queue worker listener threads that receives
> messages from the internal queue and execute the workflow.
>
> If we set the number of these threads to 0, there are several
> QueueWorker-Listener that remain alive. We don't know where these
> threads come from.
>
> We have also noticed that we have more listener threads then we want to
> create. If we set the number of listener threads to 4 we have at least
> 10 additional queue worker listener threads. We evaluate this with
> VisualVM.
>
> Have you an idea where the additional threads are created?

No, I don't have an idea. I did a quick test in my dev environment and it
seems
to work as expected: If I set Threads="0" in all <Rule>s in
QueueWorkerListenerConfig.xml,
I don't get any "QueueWorker-Listener@..." threads at all, and with
Threads="1" I get
5 threads as there are 5 rules in the standard configuration. They even
adapt correctly
when I change the number of threads in the JMX console.

Where did you change the number of threads?

Cheers,
Juergen.
Re: From where comes all the listener threads? [message #663659 is a reply to message #663452] Wed, 06 April 2011 06:06 Go to previous message
SMILANewBee is currently offline SMILANewBeeFriend
Messages: 42
Registered: August 2010
Member
Good morning,

it was my fault. I have some listener rules in the config file. So the other rules adds some threads too.

Thanks for your hint.
Previous Topic:0.8 M1 is out!
Next Topic: Invitation: SMILA Conference 29.6.2011, Berlin
Goto Forum:
  


Current Time: Thu Mar 28 15:12:03 GMT 2024

Powered by FUDForum. Page generated in 0.04130 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top