Re: limit number of connections tomcat accepts

2010-01-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 1/8/2010 3:02 AM, Peter Beichert wrote: > Thank you for your help. The good new is, that Tomcat really works like it > supposed to. The problem is, that the operating system holds all the > connections which did not receive an acknowledgem

Re: limit number of connections tomcat accepts

2010-01-08 Thread Peter Beichert
Thank you for your help. The good new is, that Tomcat really works like it supposed to. The problem is, that the operating system holds all the connections which did not receive an acknowledgement from the server. When monitoring the tcp-connections during the tests with netstat, I could see, t

Re: limit number of connections tomcat accepts

2010-01-06 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Peter, On 1/6/2010 3:03 AM, Peter Beichert wrote: > If I start 100 parallel requests to a servlet which does nothing else than > waiting 5 seconds, I would expect that only 8 requests would be accepted, the > rest should receive a connection refused

Re: limit number of connections tomcat accepts

2010-01-06 Thread Peter Beichert
Am Mittwoch, 6. Januar 2010 09:15:23 schrieb Mark Thomas: > On 06/01/2010 08:03, Peter Beichert wrote: > > Hi, > > > > I like to limit the number of connections tomcat (6.0.20) accepts. > > However, this is not possible. > > > > For testing purpose I use the following connector statement: > > > >

Re: limit number of connections tomcat accepts

2010-01-06 Thread Mark Thomas
On 06/01/2010 08:03, Peter Beichert wrote: > Hi, > > I like to limit the number of connections tomcat (6.0.20) accepts. However, > this is not possible. > > For testing purpose I use the following connector statement: > > maxSpareThreads="2" /> minSpareThread & maxSpareThreads do nothing and

limit number of connections tomcat accepts

2010-01-06 Thread Peter Beichert
Hi, I like to limit the number of connections tomcat (6.0.20) accepts. However, this is not possible. For testing purpose I use the following connector statement: Here only 3 threads should process the requests and 5 more requests should be queued. If I start 100 parallel requests to a se