Rachet chat application - connection closed immediately after established when the app runs for a period of time
We're using Laravel 4 together with Ratchet to create a chat application. Everything runs normally for about 14-20 hours. After a period of time the chat app stops to run. The connection gets established from the client to the server but right after that the server closes the connection. No errors get reported in our log files and the fact that we haven't been able to replicate the problem in our development environment doesn't help. Restarting the chat application on the server fixes the issue for another 14-20 hours. Supervisor configuration: [program:chat] command = bash -c "ulimit -n 10000