"Is this right ... at the web server level?" This is probably the best option. It might be nice to have different threshold values ββon different parts of your site: you may be more likely to throttle certain types of traffic than others. But ideally, these parameters will be managed at the network level.
"What a good limit ...?" It completely depends on your traffic. How much do you expect, where did your real users come from, etc.
How to do it? You can write rules to handle this kind of thing in ModSecurity , which also protects against some other things. As with the mod_evasive answer, this will not completely protect you from intruders with a large number of resources at their disposal, but it will force them to activate their game.
I donβt think there is something βbuilt-inβ in Apache httpd that will facilitate this. It would be expected that problems with an abusive IP address (i.e. network traffic problems) are managed at the network level.
EDIT:
Since you are commenting elsewhere that you are using Rackspace for hosting, you can check your load balancing API .
source share