PHP-FPM high CPU load running by root
Hello there,
One of my servers has php-fpm process running by root user, CPU is using 11/8 cores.
My top command:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
2466617 root 20 0 465604 19456 12312 R 95.7 0.1 0:49.75 php-fpm
2466629 root 20 0 464116 17924 11288 S 23.6 0.1 0:01.20 php-fpm
I restarted PHP-FPM, I disabled it from service manager, but still running.
Also I ran "killall -KILL php-fpm" command, but nothing.
Any idea how to fix this?
-
Hey there! It definitely isn't normal to see those processes take up that much CPU. Running the following command might give you some more details about the true number of FPM processes on the machine: ps aux | grep fpm
as that will show all the active processes running. You can also use "shift + p" to sort the top command by processes, or "shift + m" to sort my memory usage, which could also be helpful.0 -
Hey there! It definitely isn't normal to see those processes take up that much CPU. Running the following command might give you some more details about the true number of FPM processes on the machine:
ps aux | grep fpm
as that will show all the active processes running. You can also use "shift + p" to sort the top command by processes, or "shift + m" to sort my memory usage, which could also be helpful.
Hello cPRex! Thanks for your recommendation, finally I could fixed! I noticed all PHP web pages were down, so I recompile Apache + PHP + lsapi, then I rebuilt CageFS. With that changes the problem get fiex. Best regards!0 -
I'm glad things are working well for you now! 0
Please sign in to leave a comment.
Comments
3 comments