eventmachine/eventmachine — Issue #302: Eventmachine stops accepting new connections
Author: stakach
Created: 2012-03-03 06:55:56+00:00
State: open

I'm having a super weird issue where after a small period time new connections are no long accepted within eventmachine.
It's is running on a windows server (2008 r2).

There is a websocket server (em-websocket) and another server as well as outgoing connections.
Basically 50+ coming in on the websocket server
1 or 2 on the other server
and 80+ outgoing connections
30+ connections that are constantly being re-tried as connection failed

A few seconds after initialization any new connections stop initializing properly.
This only started once scaled to the number of connections we're seeing here.

From debugging I can see that the connection is created, initialize is called on the connection object and then nothing else happens... Existing connections continue to function however if any of them disconnect then they are also unable to reconnect, so slowly (over days) everything is disconnected and nothing works.

Any help would be greatly appreciated!