httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Justin Pasher <just...@newmediagateway.com>
Subject Re: [users@httpd] Limiting Connections for a Virtual Host
Date Thu, 14 May 2009 19:33:32 GMT
Chris Nagele wrote:
> We run a service that handles tens of thousands of virtual hosts
> across a bunch of servers. We recently ran in to a problem where one
> customer was hitting a server, with over 7000 connection attempts in a
> 3 - 4 hour period.
>
> The way it is setup now, each customer has its own virtual host in
> Apache. We shard Apache instances across many servers to handle load
> and reduce restart times. Is there an easy way to limit the number of
> connections for each virtual host? Or maybe even per IP? We want to
> avoid the situation above in the future.
>   

Check out mod_limitipconn. You can limit globally or per virtual host 
(whether the "IP address pool" it tracks is virtual host specific, I'm, 
not sure).

http://www.dominia.org/djao/limitipconn.html

-- 
Justin Pasher

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message