Re: Limiting Connections for a Virtual Host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux