63 Peak Connections
40 Websocket Messages
3 API Messages
Seen this happen few times. Websockets still work but it's maxing out at 99-100% CPU usage. I use port 2096 for Cloudflare proxy to pick it up. I use Supervisor to keep it running. I use release folders same as Laravel Envoyer.
Anyone seen or know why this might be?

Moved to a new dedicated server (from 4c/8t to 8c/16t) and it's still doing the same

I have the same problem, with laravel 7 and laravel-websockets - 1.4.0 - only two users testing
After 2-3 days, it stopped working and maxed one cpu, when dispatch the event - throws BroadcastExeption.
After killing the process, supervisor starts it again and works fine.
I run into the same problem on my server.
When having statistics enabled, the problem occures after a few minutes.
After I disabled statistics, the websocket server seemed to work, but unfortunately, the next day the websocket:server process showed up using 99-100% CPU again.
My server has 8 cores and each of them has 3.2GHz.
Our application is used by max. 500 people at the same time. And only a little section of our application joins websocket channels.
Currently there are only 50 people (max) joining websockets channels at the same time.
2.x managed to somehow fix the issues related to performance. Make sure to check this PR and if you can (only if you can; it can cause breaks) you can upgrade to 2.0.0-beta.11 version of the package (or the latest at this point) to fix the CPU and Memory Leaks. 1.x does not have this fixed as 2.x is currently tested to deprecate 1.x
@rennokki Thanks for the work you've done to track it down. I'll see if I can update it to 2.x and report back.
@rennokki Thanks!
I updated to v2.0.0-beta.11 and started the websocket server about 3 hours ago.
Everything seems to work until now. The CPU load is between 0 and 3%
Come back if the issues persist.
So the issue was with Ignition package, please see https://github.com/laravel/framework/issues/33952#issuecomment-693350705 for quick-fix and https://github.com/facade/ignition/issues/307 for the PR follow-up.
I published the flare config and set the maximum_number_of_collected_queries to 0. I'll report back.
I use composer install --no-dev on prod so not sure how the other PR mentioned in that thread will do.