[SLL] mod_throttle?
Paul
paul at oz.net
Sun May 1 13:58:35 EDT 2005
I've not tried mod_throttle because I believe it doesn't work
with apache2, and I haven't tried mod_bwshare that Glenn
suggested.
One other way to do it is via QoS at the TCP level.
For example, this snippet hard throttles my bandwidth
(all traffic, not just http) to 40Mbps:
# tc qdisc add dev eth0 root tbf rate 40Mbit latency 50ms burst 50Kb
# tc qdisc show
# tc -s -d qdisc ls
If you set up your apache to do virtual hosting with Mr. Coltrane
and friends (Miles? :) on one IP and the rest of your site on another,
then you can do stuff like section 15.1 below:
"15.1 Running multiple sites with different SLAs"
http://www.linuxselfhelp.com/HOWTO/Adv-Routing-HOWTO-15.html
Be aware though that setting up QoS is a bit tricky ...
-- Paul
More information about the linux-list
mailing list