[ILUG] Restricting one vhost in apache

Thomas Pedoussaut thomas at staffeurs.org
Wed Feb 25 14:14:54 GMT 2004


Nick Murtagh wrote:
> Niall O Broin wrote:
> 
>> However, I'd like a way to restrict the number of processes which will
>> serve one domain, so that a really busy domain doesn't squeeze out the
>> others. Is there some way of doing that in Apache ?
> 
> 
> http://www.nowhere-land.org/programs/mod_vhost_limit/

It doesn't limit the number of connections, just respond 503 to the 
exceeding ones. If you have a massive flodd, you will still need 
processes to answer 503.

The standard usage would be to queue the connection as in the standard 
backlog of apache.

This solution sucks ! (my 2 eurocents)

With mod_trottle, you can slow down individual vhost as well as 
individual client IP, so they get slower the html and therefor request 
slower the img inside your page (assuming your not totally slashdotted).

The other solution would be an reverse proxy in front, balancing the 
http connection to multiple apache instances.

-- 
Thomas Pedoussaut
Dublin IRLANDE
http://irlande.staffeurs.org/




More information about the ILUG mailing list