FrakenPHP 1000% CPU #586
-
Hi, Frankenphp is taking up 1000% of my CPU :) Has anyone else experienced this issue? I'm using Linux Mint. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
There's a guy running around here claiming he can't get it to use more than 2 cores, and here you are using 10 cores. :D
Each 100% is a full usage of a core, so if you have 24 cores, your "maximum percentage" will be 2,400%. Only you know if that is expected or not. Like are you doing load tests, running a bunch of scripts or what. If you aren't doing anything at all, then there's a really good chance you have a worker script specified but the actual worker script does not exist, so it's in an infinite loop trying to start workers, so check the logs. |
Beta Was this translation helpful? Give feedback.
-
Ok found ! It's because of xdebug : https://bugs.xdebug.org/view.php?id=2216https://bugs.xdebug.org/view.php?id=2216 |
Beta Was this translation helpful? Give feedback.
There's a guy running around here claiming he can't get it to use more than 2 cores, and here you are using 10 cores. :D
Each 100% is a full usage of a core, so if you have 24 cores, your "maximum percentage" will be 2,400%. Only you know if that is expected or not. Like are you doing load tests, running a bunch of scripts or what.
If you aren't doing anything at all, then there's a really good chance you have a worker script specified but the actual worker script does not exist, so it's in an infinite loop trying to start workers, so check the logs.