ok guys. so i have a wp site with like 1000uv/day and it seems that one of my opponents started to flood me. the host suspend my site because it loads the cpu to 80% here are some screenshots. this ip was banned but after 4 hours another ip showed what is the solution to this problem? is there an automatic script that can ban an ip if it access more then 5pages/sec or something like that? need help asap. thanks
Good morning, I'd recommend that you try out mod_limitipconn.c; there are modules for Apache v1 and v2. Let me know if that helps or if you need something stronger; folks like this can be defeated eventually, but it's a shame that instead of building up their own online community, they'd rather destroy yours.
You could also look at tuning your prefork settings for apache, along with the timeouts. Another option is to block the source IPs via iptables.