Re: JMX and Tomcat-Queue

2010-05-06 Thread Baba
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: users-h...@tom

Re: JMX and Tomcat-Queue

2010-05-06 Thread André Warnier
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 so

RE: JMX and Tomcat-Queue

2010-05-06 Thread Caldarale, Charles R
> 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

Re: JMX and Tomcat-Queue

2010-05-06 Thread Baba
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 request

RE: JMX and Tomcat-Queue

2010-05-06 Thread DJohnson
Street, Suite 300 Portland, ME 04101 Phone: 207-772-1484 x1206 FAX: 207-773-6133 http://www.desknetinc.com "Caldarale, Charles R" 05/06/2010 08:40 AM Please respond to "Tomcat Users List" To Tomcat Users List cc Subject RE: JMX and Tomcat-Queue > From: Baba [

RE: JMX and Tomcat-Queue

2010-05-06 Thread Caldarale, Charles R
> 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 p

Re: JMX and Tomcat-Queue

2010-05-06 Thread Baba
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 Requests

Re: JMX and Tomcat-Queue

2010-05-06 Thread Mark Thomas
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 thi

JMX and Tomcat-Queue

2010-05-06 Thread Baba
Hi tomcat users, I’ am new at this list but I have gain some years of experience with the tomcat server as a developer. I hope the email full fill all of the community introduced requirements. At first, I have searched the whole web to find a good answer but nothing fit. At next I setup a tomcat