tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Handling requests when under load - ACCEPT and RST vs non-ACCEPT
Date Wed, 07 Nov 2012 07:38:16 GMT
On 07/11/2012 08:13, Asankha C. Perera wrote:
> On 11/07/2012 11:55 AM, Mark Thomas wrote:
>> Mark Thomas <> wrote:
>>> "Asankha C. Perera" <> wrote:
>>>> My testing has been primarily on Linux / Ubuntu.
>>> With which version of Tomcat?
>> And which connector implentation?
> Tomcat 7.0.29 and possibly 7.0.32 too, but I believe its common to all
> versions
> Connector config was already shared

It appears you are trying to use maxThreads to limit the number of
connections. That won't work.

maxThreads limits the number of concurrent threads available for
processing requests. "connection" != "concurrent request", primarily
because of HTTP keep-alive.

maxConnections can be used to limit the number of connections.

If you set maxConnections to your desired value and repeat your tests
you will hopefully see different results. Depending on exactly how the
load test is designed, acceptCount may still influence the results. I
would be worth experimenting with different values for that as well (I'd
suggest 100, 1 and 0).


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message