Question

High PHP-FPM CPU usage bringing site down - Drupal Nginx PHP5

Hi I am running drupal with Nginx on ubuntu 14.04, 4gb memory DO plan. and PHP5 and on htop i notice that the CPU usage is 100%, In htop the top processes are

www-data (virt 56680, res 4540, command php-fpm: pool drupal) There are a number of the above pool drupal php-fpm processes taking up lots of CPU.

I have enabled opcache in php.ini (not cli)

Does anyone know how I can get the CPU down? Its strange as it started happening for no apparent reason.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Hi @matt41f5576fd18eff1f5bf8ed,

This sounds like just a lot of traffic. I’ll recommend you to try and find out of it’s legit or not. If it’s legit traffic, you’ll need an upgrade of your droplet.

If the traffic is not legit(coming from countries that won’t access or have nothing to do with your website), then I’ll recommend blocking them and see if the issue would still be experienced.

Regards, KDSys