Linode High CPU Usage
Since yesterday I have been receiving high cpu usage alert from Linode up to 196%. Normally it is limited to 20% only.
I have linode 2GB plan.
Now I am unable to figure out what's the issue. It's causing my blog traffic to all time low.
~~![](<URL url=)
~~![](<URL url=)
System Load : 7.71
Tried to Reboot, Restarted Php5-fpm and Nginx.
Any idea how to resolve this?~~~~
8 Replies
Thank you for the reply. Since I am a newbie, I don't know much about it. Any command to see log file?
@Ox-:
Look in your server logs (probably /var/log/nginx/access.log) and see if there are lots of POST requests to /xmlrpc. If so, try googling for solutions. I'm not a php or wordpress guy so just learning about this myself… a client linode running wordpress was getting hammered yesterday and CPU usage was really high all day.
THIS! I just had this happen the other week on a LAMP server that I had at another provider…CPU Usage was going nuts and was even higher then yours OP, turns out it was XMLRPC getting pounded, there's Wordpress plugins to disable it or you can disable access to it via nginx configuration/htaccess for apache.
begin fix for xmlrpc exploits
Deny from all
end fix for xmlrpc exploits
RewriteRule ^xmlrpc\.php$ "http\:\/\/0\.0\.0\.0\/" [R=301,L]
@derfy:
That would work if the OS was windows.
That is why the OP should check logs because it may be something similar but probably not identical.