wordpress nginx site very slow -- php error -- cpu high
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: 126.96.36.199, 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. )
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.