Welcome! Log In Create A New Profile


Max connections for WebSocket SSL termination

August 01, 2013 03:53AM
Hey guys,

I have been using nginx in my personal life for a couple of years, recently dropping totally apache and I must admit that this software rocks. Congrats to all the devs for the fantastic job in the new-event-driven-world.

Secondly, at work, we are trying to use nginx as a SSL endpoint for our websocket connections. We need to handle handred of thousands of permanent connections, and given the problem that Node.js (our backend) has with SSL (leaks memory in combination with websockets), we decided to give nginx a try.

Problem? We can only handle 64k connections due to the limit of actual ports on a unix machine. I think this cannot be workarounded with nginx configurations, right?

We can switch to listen to a unix socket (so Node.js is not serving in a http port, but on a unix socket), which *I think* that could resolve the problem.

Thanks for your help.

Max connections for WebSocket SSL termination

willyarandaAugust 01, 2013 03:53AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
Record Number of Users: 5 on August 04, 2015
Record Number of Guests: 244 on October 02, 2015
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready