DigitalOcean Server goes down after PHP-FPM process uses all ressources

147
March 27, 2018, at 06:13 AM

I have a problem in my wordpress website hosted on DO on top of a LAMP stack using ServerPilot.io Starting yesterday, I noticed that sometimes the server goes down and the browser either displays a 524 error (bad gateway) or a timeout error. When I check my DO graphs I notice that the CPU and RAM usage goes all the way from 5% to 100% and stays that way, and the Disk I/O goes from little to more than 100 Mbps without any particular reason. The process that uses most of the resources and causes this problem is the php-fpm process. I am using this configuration for months and this is the first time this happens, I did not add any plugins nor change the code, and I am using Wordfence and I do not see any attack on the website. Please if anyone had the same issue please share your thoughts. Thank you.

PS: check screenshots for more in-depth understanding.

Rent Charter Buses Company
READ ALSO
How to send other POST data with TINYMCE images_upload_handler

How to send other POST data with TINYMCE images_upload_handler

I've got an image handler working in TinyMCE:

406
Use _id field to fill another elasticsearch 6

Use _id field to fill another elasticsearch 6

lets suppose my mapping is

137
How to create a hierarchical list from data

How to create a hierarchical list from data

With PHP, I need to create a three-level-deep navbar, because that's what the boss wantsI have data like this:

150
How to pass an array into a MySQLi query?

How to pass an array into a MySQLi query?

I'm having this query:

205