Apache 1.3.x bandwich limiter
tedm at toybox.placo.com
Sun Feb 18 21:20:55 UTC 2007
In my opinion,
Your best of setting the maximum number of simultaneous sessions
that your Apache will spawn, (MaxClient setting) rather than trying to
limit bandwidth. Read the following:
The reason for doing it this way is if you server gets hit at 5:00pm with
simultaneous requests of 10K each, and you want to limit your bandwith
to 500k, you better off having 50 of those requests served out the 10K,
and 50 of them simply denied, than all 100 of them being served out the 10K
at half-speed. (or 200 requests being served out at quarter speed, etc.)
The 50 people who get denied will simply retry a few minutes later.
But, if you respond to all 100 requests, then a lot of the respondents may
think your server is too slow, and terminate the browser session when
30% of the data has been transferred to them, then wait and retry later.
You may have this happen with some of them 2 or 3 times. The end result
is a lot of the connection requests will cause your server to ultimate
16 or19K for every 10K request, thus increasing your overall bandwidth
Needless to say, I assume you have ALREADY done the normal things like
change all your images on your site to highly compressed jpgs, rewrite your
webpages to reduce graphic load and increase text to make them smaller,
get rid of bullcrap like macromedia flash, etc. in other words, put your web
pages on a diet.
----- Original Message -----
From: "Grzegorz Pluta" <grzegorz.pluta at segi.pl>
To: <freebsd-questions at freebsd.org>
Sent: Sunday, February 18, 2007 4:29 AM
Subject: RE: Apache 1.3.x bandwich limiter
> BANDWIDTH is what I ment ofcourse ;]
> sorry for the mistake.
> > -----Original Message-----
> > From: Grzegorz Pluta [mailto:grzegorz.pluta at segi.pl]
> > Sent: Sunday, February 18, 2007 1:27 PM
> > To: 'freebsd-questions at freebsd.org'
> > Subject: Apache 1.3.x bandwich limiter
> > Hello!
> > Id like to limit my both incoming and outgoing bandwich
> > to/from my apache 1.3.x server... I know there are modules
> > that can do the trick, but could you possibly reccomend me
> > any good ones?
> > thanks in advance,
> > Greg
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions