PHP-FPM high/100% CPU usage after deploying #3907
Unanswered
chrisloftus
asked this question in
Bugs
Replies: 2 comments
-
You should check the following configurations:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Deployer Version
v7.4.0
Target OS
Ubuntu 22.04
Which PHP version are you using?
PHP 8.3
Content of deploy.php or deploy.yaml
Steps to reproduce
I used to reload FPM after a deploy but did not like this since it can kill requests.
I changed nginx to use
$realpath_root
to avoid having to reload FPM.Since changing this, every now and then a deploy will trigger a spike in FPM CPU usage and go to 80% - 100% CPU usage for long periods.
Reloading FPM fixes this.
I suspect the FPM reload was masking this issue when I had it in the deploy script.
Does anyone know why this might happen?
All I see in the FPM logs is the increase pm.max_children setting, but this happens at other times and monitoring the app / server in New Relic is barely using any resources. So I'm not worried about that.
Beta Was this translation helpful? Give feedback.
All reactions