Thomas G. Lau wrote:
> Dear All,
> 
> I am currently testing tomcat connection limit, while doing so, I have
> meet the 1100connection limit to Tomcat server,

There is no such limit in Tomcat. I have just tested Tomcat with 3000
concurrent connections and saw zero errors. I did, however, need to tune
my load test so I didn't hit CPU or network bottlenecks. I also tried
5000 threads but started seeing errors around 4000 concurrent
connections - I didn't look into why but I suspect I hit an OS limit.

> it was using two jmeter
> server to "attack" single tomcat. But no matter what, tomcat could never
> be able to handle more than 1100 connection.

It is extremely unlikely that Tomcat is the limiting factor. The
limiting factor will be your application. You have two choices:
- buy better hardware
- tune your application

Keep in mind that concurrent connections may not be the performance
figure you really care about. Is response time is low, you could, for
example, serve 200 req/s with only 20 connections.

As a guide, the upper limit on requests per second for 6.0.20 on a
quad-core 2.2GHz machine is more than 6000 req/s. Here CPU is the
limiting factor and it I can hit that with less than 10 threads.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to