tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Accumulation of Request Processors objects causes tomcat stuck?
Date Tue, 15 Dec 2009 16:23:14 GMT
Hash: SHA1


On 12/15/2009 9:55 AM, Caldarale, Charles R wrote:
>> From: Michal Singer []
>> 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
>> 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
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message