Set very verbose or debug logging?
Hi all,
I have a problem with my WS server. One or more of the clients that are connecting are causing huge problems, which lead to all other clients randomly connecting/disconnecting. Ususally there are around 70 clients.
I fairly often get a [fwrite(): send of X bytes failed with errno=X Broken pipe](https://github.com/ratchetphp/Ratchet/issues/477) error from `onError`. It is also almost impossible for me to send a message to any of the clients, because they seem to not be connected, even though they just connected (`onConnect` and `onClose` logs to error_log).
When a few of the new clients are stopped from even attempting to connect, all other clients are fine, as well as sending messages to them. This leads me to believe that the new clients (certain IOT devices) are causing all this havoc.
Now I need to debug their communication to try to find out what is causing this. They seem to somehow be flooding the socket, although they aren't sending any messages that I can't see (at least it seems to me). Maybe some unknown ping/pong?
How can I turn on some very verbose logging to see what's going on?