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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]