Web Hosting Talk







View Full Version : best way the limit bandwidth?


noti
10-29-2001, 11:54 PM
my bandwidth has gone up a lot and nearly over the limit allowed by 4webspace ... i tried not to pay $3/GB for extra bandwidth with the idea of setting-up a sub-domain with an unique ip address to handle all the downloading files and limit the bandwidth by the speed of downloading. this way, i will be able to control the bandwidth and visitors will be able to download all the files. even though the downloading will be a little bit slower during peak hours, but its a win win case to me :)

i was using the raq3 control panel to set the bandwidth limit of download.domain.com(unique ip address) to 70kbps (which is around 20GB/month) ... however, all my other sites using different ip addresses seems to be slowing down as well ... i think even though i set the limit for the sub-domain/unique ip address, its limiting the downloading speed of the whole server :( anyone facing the same problem? ... is it possible to set the limit/fix this problem through telnet? ... i did a search and found that mod_bandwidth will do the job perfectly ... but can someone please kindly post a step by step installation and configuration guide?

thanks a lot for helping :)

huck
10-30-2001, 10:35 AM
Install mod_throttle. This will give you great control over your bandwidth on a per site basis, even with namebased hosting. This way each site can be limited to a specific total bandwidth or a maxium burstable bandwidth. There are even dynamic algorithms to slow down sites as the approach thier limits.


mod_throttle was just reviewed in WebTechniques
http://www.webtechniques.com/archives/2001/11/serv/

mod_throttle site

http://www.snert.com/Software/mod_throttle/

noti
10-30-2001, 01:16 PM
Thanks a lot for the suggestion :)

actually i was first thinking of installing mod_throttle, as there are lots of guide here ... but from some posts that i read, if i set a limit of 20GB/month and that site reaches 20GB before 30 days, the site will be down. i wouldn't want the files to be undownloadable during the end of every month ... thats why i am trying to install mod_bandwidth, which i have no idea how to install :(