try mod_qos. It does exactly that. On Thu, Dec 13, 2007 at 01:31:58PM +0300, Artem Kuchin wrote: > Here is the situation. Heavy db driven site takes about 1-1.5 second > to load some pages. While loading such page it takes a lot of memory > and cpu. It is not a problem it is used normally, but some users are > very hasty and stupid. When they do not get page within 0.1 seconds > they click the link to the page again, sometimes 5 times a second. > > What would be a good way to resist such abuse? > For example, allow certain amount of simultaneous connections to > some locations and another number of simultaneous connections for > another location (for example, more connections to the dir where > images are stored). > > -- > Artem > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx