tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 侯树成 <chain...@gmail.com>
Subject the acceptCount attribute not work like it's configuration
Date Tue, 31 Dec 2013 02:01:58 GMT
Hi,
Today, I find the acceptCount  of connector is not work like it's config.
You can try it like this:
    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" acceptCount="2" maxThreads="1"
minSpareThreads="1"/>

use LR or JMeter make more requests( >10) .  You will find that 5 requests
will served correctly, others will be refused.

When the acceptCount=3
   <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" acceptCount="3" maxThreads="1"
minSpareThreads="1"/>

 You will find that 7 requests will served correctly, others will be
refused.


When the acceptCount=4
   <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" acceptCount="4" maxThreads="1"
minSpareThreads="1"/>

 You will find that 9 requests will served correctly, others will be
refused.

Yes, the SUCCESS requests = 2 * acceptCount + maxthead , is it right?

why the acceptCount is not work like it's configuration?

Could you help me? Thank you.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message