I think Baba wants an acceptCount of 250, but he would like to prevent 
certain "rejectable" requests from tying up slots in that acceptCount, so 
that it only holds "non-rejectable" requests.  Unfortunately, since Tomcat 
knows nothing about the requests in the accept queue, it appears the only 
way to do this is to have separate accept queues on separateTomcat 
engines, but that may not be practical, depending on what distinguishes a 
"rejectable" request from others.
---------------------------------------------------
David S. Johnson
DeskNet Inc.
66 Pearl Street, Suite 300
Portland, ME  04101
Phone:  207-772-1484 x1206
FAX:  207-773-6133
http://www.desknetinc.com



"Caldarale, Charles R" <chuck.caldar...@unisys.com> 
05/06/2010 08:40 AM
Please respond to
"Tomcat Users List" <users@tomcat.apache.org>


To
Tomcat Users List <users@tomcat.apache.org>
cc

Subject
RE: JMX and Tomcat-Queue





> From: Baba [mailto:baba...@googlemail.com]
> Subject: Re: JMX and Tomcat-Queue
>
> My Tomcat run with 250 Threads (maxThreads==250; capacity limit) and
> the queue stored 80 Requests (acceptCount==250). Now I like to reject
> requests if they defined (the definition is provide by a custom
> definition table) as reject able.

So set the acceptCount to 80.  Note that the accept queue is not visible 
to Tomcat, since it's maintained by the comm stack of the OS.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you 
received this in error, please contact the sender and delete the e-mail 
and its attachments from all computers.


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


Reply via email to