tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 48488] New: accepCount does not limit connections
Date Tue, 05 Jan 2010 13:19:20 GMT

           Summary: accepCount does not limit connections
           Product: Tomcat 6
           Version: 6.0.20
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Connectors

I tried to limit the number of requests, but Tomcat accepts always all
requests. I never receive a "connection refused".


    <Connector port="8081"
               maxThreads="3" minSpareThreads="1" maxSpareThreads="2"
               enableLookups="false" />

If I open 100 parallel requests to a servlet which does nothing else than
waiting for 5 seconds, I should get 91 times "connection refused" with the
configuration above. However, the tomcat server queues all requests and I get
100 answers with status 200 which takes a lot of time.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message