shimaore / esl

Node.js client and server for FreeSwitch Event Socket
The Unlicense
123 stars 41 forks source link

Increasing concurrent sockets (Server Mode) #58

Open afshin2003 opened 3 years ago

afshin2003 commented 3 years ago

Hi, In the high traffic situations, Freeswitch socket connection to my application fails. How can I increase number of socket connection that should be handled?

Best, Afshin

shimaore commented 3 years ago

Hi @afshin2003 How did you determine that the number of socket connections might be the problem? Do you actually see a high number of connections in netstat or a similar tool? I wouldn't expect this unless you try to open in the order of 30000+ concurrent connections (to exhaust available TCP ports on the FreeSwitch client side).