Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-15 Thread Mark Thomas
On 13/02/2013 15:19, Amit Bhagra wrote: I am developing a tomcat application which requires a large number of websocket connections to remain opened during the time users are logged in (around 40-50 thousand). I have a ruby script (written using faye-websocket) which can

RE: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-14 Thread Amit Bhagra
numbers Regards Amit -Original Message- From: Carrillo, Dan [mailto:dcarri...@idanalytics.com] Sent: Wednesday, February 13, 2013 8:54 PM To: Tomcat Users List Subject: RE: Achieve large number of concurrent websocket connections (~4-5) You should consider setting up a cluster

Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-14 Thread Vijaya
Users List' Subject: RE: Achieve large number of concurrent websocket connections (~4-5) Hi Carrillo Thanks for the answer. I will certainly look into clustering options once I know the maximum connection limit achievable from a single instance of tomcat. I was wondering if anyone else has

Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-13 Thread Amit Bhagra
Hello All Tomcat Server: 7.0.35 Operating System Version: Red Hat Enterprise Linux Server release 5.5 (Tikanga) Java Version: java version 1.6.0_11 Memory:4137112 kB CPU: Intel(R) Xeon(R) CPU

RE: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-13 Thread Carrillo, Dan
...@agnity.com] Sent: Wednesday, February 13, 2013 7:20 AM To: users@tomcat.apache.org Subject: Achieve large number of concurrent websocket connections (~4-5) Hello All Tomcat Server: 7.0.35 Operating System Version: Red Hat Enterprise Linux Server release

Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-13 Thread Charles Richard
Hi, Not sure if this is the same issue but I believe you might need the tcp_tw_reuse and tcp_tw_recycle parameters in /proc/sys/net/ipv4 to be at a value of 1? Since you already achieved 1 connections, I'm thinking it's probably something else though. Cheers, Charles On Wed, Feb 13, 2013