https://issues.apache.org/bugzilla/show_bug.cgi?id=48488

           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
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: pbeich...@gmx.de


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

example:

    <Connector port="8081"
               acceptCount="6"
               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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to