Hello,
I have a cPanel server which acts a webserver, we have high traffic on few sites, WP sites, but since the last few days my webserver has been acting very weird making the server to be very overloaded and unaccessible.
My partner told me we may been under a DDoS attack as a netstat command is showing a lot of TIME_WAIT connections,
[root@server ~]# netstat -tan | grep ':80 ' | awk '{print $6}' | sort | uniq -c
26 CLOSE_WAIT
5 CLOSING
101 ESTABLISHED
38 FIN_WAIT1
68 FIN_WAIT2
52 LAST_ACK
1 LISTEN
29 SYN_RECV
2256 TIME_WAIT
If I type a 'ps aux' command i get tons and tons of httpd proccesses.
I have KeepAlive On and KeepAliveTimeout to 4. I have apf with DoS prevention and mod_Evasive.
I have tried several posts here but with no luck. If the TIME_WAIT decreases the server start responding properly.
I dont know what to do and I need to get my sites back online.
Does anyone know how to handle this TIME_WAIT issue thing?
Thank you in advance.



LinkBack URL
About LinkBacks
Reply With Quote




