Plesk

Website is slow or does not work: connect() to php-fpm.sock failed (11: Resource temporarily unavailable)

Symptoms

Cause

The website is under DDoS attack.

Resolution

As a workaround, login to Plesk server via SSH and block the IP addresses sending huge amount of requests:

# iptables -I INPUT 1 -p tcp -s 203.0.113.2 -j DROP
# iptables -I INPUT 1 -p tcp -s 203.0.113.3 -j DROP
# iptables -I INPUT 1 -p tcp -s 203.0.113.4 -j DROP

As a permanent solution, consider installing Plesk extensions mentioned in the article below:

What DDoS protection tools does Plesk support?