10Mbit box, line full, site slowdown

Hi,

Ive got a 10Mbit-unlimited box running at leaseweb. It runs a few websites, including one heavy-traffic downloadspot.

The main problem is the line being flooded in rush hours. Heavy downloadtraffic slows down the websites. Browsing the pages is going terrible slow at those times.

So I figured to put a cap on the downloadtraffic. So there would at least be ~1Mbit available for browsing the webpages.

I tried different limiting options, one of them being mod_bandwidth. That is an apache plugin to limit total traffic to a certain limit. It didn't work out though: The limiting happened in a very strange way. With only a few clients connected, downloading, the speed got limited to about 3 mbit. Only with lots and lots of clients connected the speeds reachted the maximum of 8Mbit. (which I configured)

So that wasn't usable, I need visitors to be able to download at high speeds if the bandwidth is available.

I also tried running thttpd. This is a very small standalone webserver with limiting possebilities. But no way to get it running next to apache on port 80 (On another IP though).

FTP would be an option. ProFTPd is used on the system / DirectAdmin. Main problem is that I do not want people to be able to do a dirlisting. And that is not as easy to turn of using proftpd, for just one user. (?).

Does anyone have any idea how to cope with this situation? Is there any other, easy, way to speedup page browsing a bit? Maybe even let apache handle .html/php/jpg files with a higher priority as the other files (if possible?). I run apache 1.3.33 10Mbit box, line full, site slowdown

Thanks in advance !

 

 

 

 

Top