On 06/05/2010 09:14, Baba wrote:
The mechanism would work in the following step so far my concept:
1) Take a look in the tomcat queue and get a count of the stored requests
2) If the count greater a defined number reject a defined type of requests
3) Process the request
Tomcat does this by
Thanks Mark for the answer but I didn't mean this.
I knew that you can configure the maxThreads and the acceptCount. I
defined both attributes with 250.
I need a solution for the following scenario:
My Tomcat run with 250 Threads (maxThreads==250; capacity limit) and
the queue stored 80
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
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
Hi Chuck, David and tomcat users,
thanks for your answer. David your interpretation fits more than to 80%.
I want an acceptCout of 250. A new request reaches the tomcat server.
As next step(s) the tomcat map the request to my servlet. Before the
business logic start I would check how much
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
Baba wrote:
...
Is there no way to get this information (How much requests are in the
accept queue?) out?
Even if you could find this out at the Tomcat level, I seem to recall
that you also wanted to find out what kind of request these were, so
that you could decide to reject selectively
Thanks for your help.
There are some benefits to give a request priority but not on technique site. ;)
Regards,
Thomas
-
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: