-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Michal,

On 12/15/2009 9:55 AM, Caldarale, Charles R wrote:
>> From: Michal Singer [mailto:michal.sin...@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-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to