-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256
侯树成,
On 12/27/13, 4:24 AM, 侯树成 wrote:
Yes, this must use BIO mode, because the NIO maxConnections=1
in default, it won't block the LimitLatch. In my test case,(use
JMeter, thread number is 5), 2 requests will refused soon(just
1s-2s later),
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=2
redirectPort=8443 acceptCount=2 maxThreads=1
minSpareThreads=1/
Also use LR/JMeter make more
On 27/12/2013 07:27, Mark Eggers wrote:
On 12/26/2013 11:09 PM, 侯树成 wrote:
1.set tomcat connector like this:
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 acceptCount=1 maxThreads=1
minSpareThreads=1/
2. deploy a war
On 12/27/2013 12:37 AM, Mark Thomas wrote:
On 27/12/2013 07:27, Mark Eggers wrote:
On 12/26/2013 11:09 PM, 侯树成 wrote:
1.set tomcat connector like this:
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 acceptCount=1
On 27/12/2013 08:53, Mark Eggers wrote:
On 12/27/2013 12:37 AM, Mark Thomas wrote:
On 27/12/2013 07:27, Mark Eggers wrote:
On 12/26/2013 11:09 PM, 侯树成 wrote:
1.set tomcat connector like this:
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
Yes, this must use BIO mode, because the NIO maxConnections=1 in
default, it won't block the LimitLatch. In my test case,(use JMeter, thread
number is 5), 2 requests will refused soon(just 1s-2s later), then another
3 requests will served correctly.In source code, I find the backlog
attribute
Hi,
I find a problem of http bio connector,I need help.
You can find it in flowing steps:
1.set tomcat connector like this:
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 acceptCount=1 maxThreads=1
minSpareThreads=1/
2. deploy a
侯树成 wrote:
Hi,
I find a problem of http bio connector,I need help.
You can find it in flowing steps:
1.set tomcat connector like this:
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 acceptCount=1 maxThreads=1
minSpareThreads=1/
On 12/26/2013 11:09 PM, 侯树成 wrote:
Hi,
I find a problem of http bio connector,I need help.
You can find it in flowing steps:
1.set tomcat connector like this:
Connector port=8080 protocol=HTTP/1.1
connectionTimeout=2
redirectPort=8443 acceptCount=1