[mirror-admin] Rate Limiting on our mirror server

Richard Ford rford at candis.com.cn
Thu Aug 19 00:40:56 EDT 2010


mod_cband for hhtp works great.


On 19 Aug 2010, at 1:49 AM, Scott Baker wrote:

> I need to keep my mirror choked to a certain bandwidth so it doesn't flood our network. I'm using cbq to do this, is there a better tool?
> 
> I have two CBQ classes: my network, and "teh internetz"
> 
> root at white(/etc/sysconfig/cbq)
> :cat cbq-1000.cta
> DEVICE=eth0,1000Mbit,100Mbit
> RATE=400Mbit
> WEIGHT=40Mbit
> PRIO=1
> RULE=0.0.0.0/0,65.182.224.0/19
> RULE=0.0.0.0/0,66.206.80.56/29
> RULE=0.0.0.0/0,65.182.230.0/28
> RULE=0.0.0.0/0,67.22.240/20
> 
> root at white(/etc/sysconfig/cbq)
> :cat cbq-9999.inet
> DEVICE=eth0,1000Mbit,100Mbit
> RATE=100Mbit
> WEIGHT=10Mbit
> PRIO=5
> RULE=0.0.0.0/0,0.0.0.0/0
> 
> This works, but I think it's arbitrarily keeping my traffic well below the 100Mb/s threshold. With this on, my internet traffic hovers around 30Mb/s. If I turn this off my internet bandwidth goes up to at least 50Mb/s.
> 
> Any CBQ experts out there that can tell me what I'm doing wrong?
> 
> -- 
> Scott Baker - Canby Telcom
> System Administrator - RHCE - 503.266.8253
> 
> --


--


More information about the Mirror-admin mailing list