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/
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!