Article ID: 123546, created on Nov 15, 2014, last review on Nov 15, 2014

  • Applies to:
  • Plesk Automation 11.5

Symptoms

All the websites are loading very slowly and I have to wait for a long time before the pages is displayed fully.

Cause

The server may be under DDos attack. Please check how many connections go to your server from IP addresses:

    #netstat -ntpu | egrep ':80|:443'  | awk '{print $5}' | sed 's/::ffff://' | awk  -F':' '{print $1}' |   sort | uniq -c | sort -rn | head -20 

will show the amount or current connections and the IP addresses they come from.

Example:

193 1.1.1.1
131 2.2.2.2
 37 3.3.3.3

Obviously, there are too many connections from IPs 1.1.1.1 and 2.2.2.2. As a result the webserver is overloaded and takes a lot of time to responce the queries, therefore the websites are loading slowly.

Resolution

Configure you firewall to restrict the access for IP Addresses that create a lot of connections to your server.

Search Words

websites are loading slowly

websites slow

33a70544d00d562bbc5b17762c4ed2b3 caea8340e2d186a540518d08602aa065 e0aff7830fa22f92062ee4db78133079

Email subscription for changes to this article
Save as PDF