This can't be done in general because of the loosely coupled nature
of the architecture. You can plug-in any off the self servlet container,
or in general, any component that has its own thread pool management.
Also, even if there is a centralized thread pool, this does not prevent
a Runnable from spinning. You may be able to centralize an interrupt
call dispatch, but that does not prevent the Runnable from catching it
and resuming its spinning ways.

xxxxxxxxxxxxxxxxxxxxxxxx
Scott Stark
Chief Technology Officer
JBoss Group, LLC
xxxxxxxxxxxxxxxxxxxxxxxx
----- Original Message -----
From: "Jason Dillon" <[EMAIL PROTECTED]>
To: "Anatoly Akkerman" <[EMAIL PROTECTED]>
Cc: "JBoss-Dev" <[EMAIL PROTECTED]>
Sent: Sunday, December 09, 2001 12:57 PM
Subject: Re: [JBoss-dev] Runaway threads in 3.0 ?


> There was some talk a long time ago about using a centralized threading
> system.  Is this still on the burner somewhere?  Could we create a
> ThreadController MBean, that would have a single thread pool (or
> configurable set of pools), then each component that needs to thread,
would
> use it to access its threads?
>
> The point being to have one component which is responsible for 95% of the
> threading in the server (there will probably be a small percent which
can't
> be controlled by it due to bootstrap or conditions).
>
> It probably needs some more time to bake, but I think it might help
improve
> threading using inside JBoss.
>
> --jason
>
>
> On Sun, 9 Dec 2001, Anatoly Akkerman wrote:
>
> >
> > Hi,
> >
> > I've been experiencing RH 3.0 alpha consuming all the CPU while being
> > idle. I have trouble tracking down what is causing this behaviour --
have
> > some issues with jdb remote debugging. Anyone experiencing the same? (I
am
> > running on W2K, Sun's jdk 1.3.0) What is the best way to track this
down?
>
>
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development
>


_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to