tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Singer <Michal.Sin...@expand.com>
Subject Re: Accumulation of Request Processors objects causes tomcat stuck?
Date Wed, 16 Dec 2009 06:23:55 GMT

Hi. First of all, i am using <Executor> in the configuration of the
connectors, and so if i understand you correctly, it means that the
requestors are supposed to reduce? at least after i see that messages are
stuck.
Second, i am using apache-tomcat-6.0.18, jdk1.6.0_12, running on Windows XP.



Christopher Schultz-2 wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Michal,
> 
> On 12/15/2009 9:55 AM, Caldarale, Charles R wrote:
>>> From: Michal Singer [mailto:Michal.Singer@expand.com]
>>> Subject: Accumulation of Request Processors objects causes tomcat
>>> stuck?
>>>
>>> i am running an application on tomcat which gets stuck when
>>> processing incoming messages after a while.
>> 
>> So take a thread dump and find out what they're waiting for.
>> 
>> While you're at it, tell us the Tomcat version, JVM version, and platform
>> you're running on.
>> 
>>> I see accumulation of request processors objects
>>> in jconsole under: Catalina\RequestProcessor\http-8080.
>>> What do these objects mean, what does it mean that they accumulate?
>> 
>> That's normal; those are threads Tomcat creates to process requests.
> 
> More specifically, unless you are using an <Executor> (unless you set
> this up yourself, you are not), your <Connector> will allocate as many
> threads as are required to serve the client demand (up to the configured
> maxThreads), but will never release them. <Executors> are smarter than
> that and can take request processor threads out of service if you feel
> strongly about reducing the number of idle threads.
> 
> So, the presence of lots of threads is not a direct indication that
> anything is amiss.
> 
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iEYEARECAAYFAksnt/IACgkQ9CaO5/Lv0PDbFACeL2ah5EhTDSje6gN6fav3jL43
> etEAnjtzOPtQPba8a4BtEhfBaUtbVuSq
> =cUGp
> -----END PGP SIGNATURE-----
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Accumulation-of-Request-Processors-objects-causes-tomcat-stuck--tp26791905p26806770.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message