php - How to identify if WebSocket connection limit is reached?Get the solution ↓↓↓
I am using "Ratchet Websockets" using PHP for an application with a mobile App on Ubuntu 14.04 with Apache2. I have been facing an issue with the connection limit. I had faced this a couple of times now. The connection broke sometime and I manually have to restart the
supervisor.conf and then it works fine. On a busy day, if the connection broke at my night time, it would be a mess. I would like to know if there's any connection limit behind it, if there is, I would like to know how to increase it?
I made some changes in the server settings and updated the file limit.
Here are a few details I been able to get out of my server:
sudo sysctl -p fs.file-max = 2097152 ulimit -n -S 500000 ulimit -n -H 500000
I still need to know how to test/verify if the WebSocket connection limit is increased beyond
1024 the default limit. I don't know how to test it.
Share solution ↓
Link To Answer People are also looking for solutions of the problem: method illuminate\database\eloquent\collection::paginate does not exist.
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.