CPU Spiked to 100% high php-fpm pool on droplet running wordpress

Posted May 31, 2019 3k views
WordPressUbuntu 18.04

No recent changes to server, all of the sudden memory and CPU spikes last night. I’ve deleted all plugins and get the same result. Server is managed via running PHP7.3

Tried restarting server and all services cpu immediately spikes back up. Site is used for development only, shows virtually no traffic in “Bandwidth Public” graph on DigitalOcean graphs.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

You could try adjusting the following:

pm = dynamic

and change it to:

pm = ondemand

Hey, I came here to make the same question.

I have two droplets, and one of them contains a Wordpress website. I have some high CPU alerts configured in Slack, and the droplet with the Wordpress is sending alerts every day, the other droplet is fine.

I did no recent changes to the Wordpress droplet, so I wonder how can we debug this problem.

Did you already find a solution for this?