Report this

What is the reason for this report?

wordpress nginx site very slow -- php error -- cpu high

Posted on August 15, 2014

Few hours ago I got a serious performance problem on my company droplet and i can’t figure out what’s the cause. this is how bad it looks: http://i62.tinypic.com/bkex1.jpg

Both websites are displaying this message: “The page you are looking for is temporarily unavailable. Please try again later.”

I tried everything. I tried to deactivated al the plugins for the 2 websites we have (miasa.de and pro.miasa.de), but the CPU was still over 50%. I also updated all the plugins and Wordpress version, but everything still rocketing over 90%

The issue happened few ours after i was trying to install a SSL using this tutorial: https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-nginx-for-ubuntu-12-04 Although, I didn’t finish all the process. I have stopped on step five – I didn’t set up the virtual hosts.

I hope you guys can help me through here.

This are the log files i got today from the var/log/nginx: https://drive.google.com/file/d/0B5PDpzeSyKU5bDB1RFVfYm5uT2M/edit?usp=sharing

on the error log what we see is a repetition of this message:

2014/08/15 11:41:51 [error] 18206#0: *5395 connect() to unix:/var/run/php5-fpm.sock failed (11: Resource temporarily unavailable) while connecting to upstream, client: 41.142.99.109, server: miasa.de, request: "POST /xmlrpc.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "miasa.de"

I thank you for your time!

(i also have opened a ticket because the situation is quite urgent – i will update both sides with the responses i might get. )



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!

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.

It looks like PHP isn’t running or nginx can’t connect to it.

Hi,

From my experience - it looks like you`re under attack to /xmlrpc.php (pingback/trackback spam), every access to this file have high CPU consumption . You can easily check this by renaming this file from domain root or limiting access to this file.

regards, VB

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.