@TZHX Thanks for the Reply. I found the solution to solve this.
It was a Brute Force attack. Spammers were using xmlrpc.php.
Because of the attack I got this error
"connect() to unix:/var/run/php5-fpm.sock failed (11: Resource
temporarily unavailable)"
I just blocked the access to my xmlrpc.php in the config file and restarted the services.
Now my site is running without any problem. Below is the config to block xmlrpc.php.
Open "/etc/nginx/sites-available/wordpress" and add the following lines.
# Block xmlrpc.php access
location = /xmlrpc.php {
deny all;
}
After saving it. Restart the services.
sudo service nginx restart
sudo service php5-fpm restart
Hope it might help someone!
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…