I'm using the socket (Ratchet) for a web app, now that the connections are increasing, more and more often the socket hangs when the 1024 connections are reached. all the others are in the state of close_wait, I've already tried unlimit, but nothing has changed. Do you know if there is a parameter to change? thanks so much for the help!
I use Apache 2 server with php7.0, I've already try to increase limit open file but it not work.