laravel-websockets icon indicating copy to clipboard operation
laravel-websockets copied to clipboard

High load on the CPU thread that runs laravel-websockets

Open ven0ms99 opened this issue 3 years ago • 7 comments

Bildschirmfoto 2022-01-29 um 18 42 58

Is there any possibility to distribute the load? I mean, I'm already running quite a nice dedicated server with up to 5GHz (i9 9900k) and there isn't too much going on with the websocket. It's always at 100% nomatter how much is going on.

ven0ms99 avatar Jan 29 '22 17:01 ven0ms99

@Hillcow i have this issue too and i don't understand!

erfanhemmati avatar Feb 17 '22 06:02 erfanhemmati

I have same issue. It's all the time on full CPU load.

pvodicka avatar Feb 17 '22 19:02 pvodicka

use redis instead of websocket still next update of websockets

sananAhmad avatar Feb 18 '22 12:02 sananAhmad

@sananAhmad but this isn't a new issue, I had this problem since day 1 (over 3 years). I'm not sure if a solution is in the works.

ven0ms99 avatar Feb 18 '22 13:02 ven0ms99

first make sure if not satisfied this solution then you can check if port 6001 is running or not. if running then this is your problem solution

sananAhmad avatar Feb 18 '22 13:02 sananAhmad

Which version are you using? Please try one of the available v2 betas, as this should increase the performance

mpociot avatar Mar 03 '22 08:03 mpociot

@mpociot I tried both the latest stable and the latest beta, same problem.

ven0ms99 avatar Mar 03 '22 09:03 ven0ms99

@Hillcow Any update on this issue? Did you found any solution?

azizahmed45 avatar Dec 28 '23 18:12 azizahmed45