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

Chuck,

On 5/18/2009 8:54 PM, Caldarale, Charles R wrote:
>> From: Pantvaidya, Vishwajit [mailto:vpant...@selectica.com] 
>> Subject: RE: Running out of tomcat threads - why many threads in 
>> RUNNABLEstage even with no activity
>> 
>> Ok - so then the question is when does tomcat transition the thread
>> from Running to Waiting? Does that happen after AJP drops that
>> connection?
> 
> That's my understanding; I would presume some from of keep-alive is
> in play.  However, others know the AJP characteristics better than I
> do.  Rainer is the ultimate resource, but I suspect he's asleep right
> now.

My expectation would be that an AJP connection waiting for the "next"
request in a set of keepalive requests would be WAITING: blocked on a
socket read, rather than RUNNABLE. Or, maybe Java's thread states don't
differentiate between actually runnable and runnable but blocked (as
opposed to WAITING which means waiting on a synchronization monitor).

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkoSpdcACgkQ9CaO5/Lv0PAcnwCgq33fogBqYaYD5INtQk8D/x7d
RewAn23Ft0nSsgSQeupKhuanWdlwsIsS
=jHcT
-----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