tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48488] New: accepCount does not limit connections
Date Tue, 05 Jan 2010 13:19:20 GMT
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: pbeichert@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message