On Tue, 2003-09-09 at 18:04, Brion Vibber wrote:
In an attempt to keep things moderately under control
on en, I've
installed mod_throttle onto larousse's apache:
http://www.snert.com/Software/mod_throttle/
I'm slightly suspicious that mod_throttle may have been a culprit in the
recent webserver croakings. Who knows...
Anyway I've changed the configuration again, trying to find a more
appropriate setting... I've set it to 'Document' mode, which instead of
steadily increading delays on connections immediately returns a 503
'Service Unavailable' error. In theory at least it shouldn't count
stylesheets, images etc in its counts of how many connections you're
making.
The current setting is:
ThrottleClientIP 1024 Document 20 60
which:
* keeps track of up to 1024 ip addresses at a time
* has a timeout period of 60 seconds
* cuts you off after 20 page requests (waiting an average of 3 seconds
between requests should let you go infinitely)
If you hit the limit, you see this error message:
http://www.wikipedia.org/503.html
I don't know if a hard cutoff like this is worse or better, but at least
it's less *mysterious* than just a really really slow server.
If anyone's hitting the limit more frequently than they think they
should in regular usage, please say something. (Note that random pages,
page saves, and 'go' searches will count double, because you get
redirected from one page to another).
-- brion vibber (brion @
pobox.com)