Large Spikes on server CPU, Memory usage, PHP-FPM processes
-
I have seen hundreds of blocked login attempts on live traffic, either for login.php or xmlrpc, then recently my website would go down for a minute or two, checking the server WHM I could see massive CPU and memory usage, and sometimes MariaDB would also go down, those numbers exceed what I have contracted with my VPS so websites would either go down or crumble.
I talked to support to try an pinpoint the cause of this, and after some checks they told me that this was the issue:
(Note:actual IP’s and domain obscured for security reasons)
”
We have reviewed the reported issue in detail and it appears that there are a lot of PHP-FPM processes spawned from your website, which is the reason why you are getting larger CPU Load Values on your server.After checking the exact cause of the issue, it appears it is one of the Automated Tasks the WordFence plugin on this website is performing and the PHP Processes are actually spawned from the default WordPress Cron, specifically to execute the following task:
xxx.xxx.xxx.xxx – – [16/Mar/2020:17:01:49 +0000] “POST /?wordfence_syncAttackData=1584378109.5985 HTTP/1.1” 200 – “https://xxxxxxxxx.com/?wordfence_syncAttackData=1584378109.5985” “WordPress/5.3.2; https://xxxxxxxxx.com”
”
What can I do to prevent this?
Thank you
- The topic ‘Large Spikes on server CPU, Memory usage, PHP-FPM processes’ is closed to new replies.