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.