jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Smuts, Aaron" <Aaron.Sm...@travelocity.com>
Subject RE: ElementEventQueue.QProcessor -- too many threads
Date Wed, 07 Sep 2005 18:22:52 GMT
Adding a region results in event queue creation and on the old model the
queues will keep threads around forever.

(You might also be getting some if you have the lateral cache
configured. )

Send your cache.ccf file or something like it.  I might be able to
suggest some palliative changes.

> -----Original Message-----
> From: GAMERMV@victoriainsurance.com
[mailto:GAMERMV@victoriainsurance.com]
> Sent: Wednesday, September 07, 2005 1:46 PM
> To: JCS Users List
> Subject: RE: ElementEventQueue.QProcessor -- too many threads
> 
> Aaron, I know we need to upgrade (we will, it's going through QA, it's
a
> large application, problem is bad things are happening in production
right
> now :-).
> 
> What triggers creation of a thread? (any call to getCache or putCache
with
> a "new" - non-existent previously name)?
> 
> Thanks,
> Val
> 
> 
> 
> 
> "Smuts, Aaron" <Aaron.Smuts@travelocity.com>
> 09/07/2005 01:38 PM
> Please respond to "JCS Users List"
> 
>         To:     "JCS Users List" <jcs-users@jakarta.apache.org>
>         cc:
>         Subject:        RE: ElementEventQueue.QProcessor -- too many
> threads
> 
> 
> The number is dependent on the number of regions.  The new JCS allows
> you to set thread pools to use and it has event queues that only keep
> threads alive for a limited period of time.
> 
> You must be creating more regions as the day goes by.
> 
> You need to upgrade!  1.0 is 2 years out of date.
> 
> Aaron
> 
> > -----Original Message-----
> > From: GAMERMV@victoriainsurance.com
> [mailto:GAMERMV@victoriainsurance.com]
> > Sent: Wednesday, September 07, 2005 1:38 PM
> > To: jcs-users@jakarta.apache.org
> > Subject: ElementEventQueue.QProcessor -- too many threads
> >
> > We are using JCS (an old version 1.0 upgrade to the latest is
> scheduled
> > but we are having problems in production and it's urgent :(. We are
> seeing
> > lots of threads getting created as application is running (more and
> more
> > getting created throughout the day). The threads are called
> > ElementEventQueue.QProcessor- and then a number. I checked and all
the
> > puts into the cache are done for specific cache regions (there is a
> finite
> > number of those: < 15, and the number of threads we see is 50+ and
if
> we
> > let TomCat run for a while it keeps on growing)...
> >
> > Any help/suggesttions/pointers you can offer would be higly
> appreciated...
> >
> >
> > Thanks,
> > Val
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jcs-users-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: jcs-users-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jcs-users-help@jakarta.apache.org


Mime
View raw message