Forum Moderators: phranque

Message Too Old, No Replies

Bandwidth management and throttling for Apache2 server on windows

Bandwidth management and throttling for Apache2 server on windows! Urgent

         

basamma

5:47 pm on Jan 14, 2005 (gmt 0)



Hi All

I want to limit the bandwidth to 45 KB/sec on Apache server version 2.0. I see that mod_bandwidth and mod_throttle modules are available for apache server version 1.3 and not for apache server version 2 and most of the modules are not for windows. Please can anybody tell me how can I throttle/limit the bandwidth to 10kb/sec on apache server version 2.0 which is running on Windows operating system.I could find one module for apache server version 2.0 but it is for unix OS and not for windows.
I was wondering almost all sites with FTP would have to limit the bandwidth and I read apache is almost 60% used worldwide. Then why it doesnot contain any module for bandwidth management and not a single module is available for apache version 2.0. Then how one has to manage bandwidth?

Any help would be highly appreciated.
Thx in advance & Regards..

kalos

8:11 pm on Jan 14, 2005 (gmt 0)

10+ Year Member



Currently there are no ports of either mod_bandwidth or mod_throttle for the Apache2 server. If you really need this functionality you'll have to step down to Apache1 (which is horrid on Windows) or set up a firewall that can do packet limiting (iptables on a *nix box would do). As for ftp servers, it's almost always built in, even for simple ones such as Serv-U).

The only other option would be to get the source for either of the aforementioned modules and attempt to compile them for Apache2 and create a dll you could load. I know other people have done do for other modules (mod_perl, mod_ssl) but it requires a sturdy knowledge of C (or C++) to do.