How to restrict bandwidth upload usage on Apache?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

How to restrict bandwidth upload usage on Apache?

Postby Znote » 24. February 2010 10:14

I got Windows Server 2003. This OS got some sort of build-in apache, where you can choose to etc limit upload speed to max 200KB/sec. However I never used this system and went for xampp instead.

But I want to avoid "spikes" //When user logs in, he loads page with images at 800KBsec, slowing the system for other members who don't surf the website for using an application. (e.g an MMORPG server).

So if I could restrict apache to upload max 200KB/sec, I would always, no matter how many users on the website, have on average 600KB/sec dedicated to the game server.

Now that sounds good in my ears. As well as all my customers.

But how to do it?

I have already tried this:
Place mod_bw.dll in xampp/apache/modules

And write:
Code: Select all
LoadModule bw_module modules/mod_bw.dll
BandWidthModule On
ForceBandWidthModule On
BandWidth    all   496000

In apache/conf/httpd.conf

I guess 496000 bits is average 60KB/sec. But this did not work. :(

I am considering using xampp mysql with windows server 2003 apache thingy, but not sure if that will work well.
//SQL on windows SE 2003 is very expensive. So I prefer using xampp for that
Znote
 
Posts: 20
Joined: 17. November 2008 18:15

Re: How to restrict bandwidth upload usage on Apache?

Postby Znote » 10. March 2010 08:20

bump
Znote
 
Posts: 20
Joined: 17. November 2008 18:15


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 92 guests