Apache 2 Bandwidth Throttling??

Joshua Kramer josh at bitbuckets.com
Thu May 27 10:02:31 EDT 2004


Hello everyone,

I have a situation where I want to server some heavy content (video) from 
a colocated host.  In order to ensure that I don't go over my quota, I 
want to limit bandwidth that Apache serves.  As this apache installation 
serves a number of other simple websites (which I don't want to 
bandwidth-limit), I need to find some way to throttle the bandwidth for 
this ONE site.

Apache 1.3 has mod_throttle and mod_bandwidth, but so far nothing for 
Apache 2.0.

Is there a way to tell apache to SEND data on a certain IP address just 
for one virtualhost?  In the past I attempted to tell Apache to listen on 
a certain different IP (to which I have a traffic shaper attached), and it 
did, but it served all of its content from the machine's main IP.

I'm currently working on duplicating the apache configuration so that I 
can have another handful of httpd's running just to serve this site 
through my traffic-shaped IP.  I'd rather not as this takes up more RAM.

Thanks,
--Josh



More information about the colug mailing list