> From: Baba [mailto:baba...@googlemail.com]
> Subject: Re: JMX and Tomcat-Queue
> 
> Is there no way to get this information (How much requests are in the
> accept queue?) out?

No, the accept queue is completely invisible.  Only the comm stack knows 
anything about it, and there are no APIs I'm aware of to queue the contents - 
because the content hasn't been received yet, only the connection request.

I think the only way to do what you want is to increase the maxThreads value, 
set acceptCount to something very small, and run a filter against each incoming 
request to see if you want to process it immediately, queue it for later, or 
reject it.

Sounds like a whole lot more trouble than it's worth - I see no benefit to 
doing any of this.   Much simpler just to size your server to the maximum load 
you want to handle.

 - 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