On 01/11/2013 23:15, Mark Thomas wrote:
> On 01/11/2013 22:00, Bob DeRemer wrote:
>> QUESTION: I'm looking for some advice on what Tomcat NIO connector
>> settings to use to support 100K concurrent websocket connections.
>> Hopefully I  can reach this goal through a combination of Tomcat NIO
>> Connector settings, and Server 2008 R2 configuration [if needed].
>>
>> BACKGROUND: We're scale testing our websocket application and looking
>> to see how many concurrent websocket connections we can get on a
>> single Tomcat instance - with the goal being 100K.  I've provided the
>> test landscape details at the bottom - all VERY BIG EC2 instances
>> over 10 GB network, so memory, CPU and network do not appear to be
>> the problem when monitoring.
>>
>> PROBLEM: The problem we are running into is that we can't seem to
>> establish even 50K connections into Tomcat.  At some point, we start
>> getting connect failures, similar to the following:
> 
> OK. Win 2k8 R2, 16GB RAM, bunch of other stuff running, client and
> server on same machine, no tuning. I get 16,313 connections before it
> falls over. That is consistent with the defaults which should allow a
> maximum of 16384 (given I have other stuff running).
> 
> (I'll commit the test to trunk shortly).

http://svn.apache.org/viewvc/tomcat/trunk/test/org/apache/tomcat/websocket/TesterConnectionLimit.java?view=annotate

For those that want to play with this themselves.



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

Reply via email to