how to use mod_band_width

i already succesfully compiled mod_bandwidth and added the needed lines in httpd.conf and virtual hosts.
But the bandwidth limiting doesn't work ok:


when i put ''bandwith all 0'' i get full speed, 100%[====================================>] 29,902,848 7.70M/s ETA 00:00


when i put ''bandwith all 262144'' i get 12% [===> ] 3,660,624 88.96K/s ETA 04:48,
that should be around 256 kb/s, if i calculate right. Higher numbers produce same speed of around 90 kb/s
So, i can't get, when theres is a limit specified, get higher dl speeds then around 90 kb/s

what am i doing wrong?
virtual hosts:
PHP Code:
BandWidthModule On 
ServerName 
<a href="http://www.xxxx.nl" target="_blank">[url]www.xxxx.nl[/url]</a
ServerAlias <a href="http://www.xxxl" target="_blank">[url]www.xxxl[/url]</adtp.fxxe.nl 
ServerAdmin webmaster
@xxx 
DocumentRoot 
/home/xxx/domains/xx/public_html/dtp 
ScriptAlias 
/cgi-bin/ /home/xxx/domains/xxxnl/public_html/$ 

User xxx 
Group xxx 
CustomLog 
/var/log/httpd/domains/xxx.bytes bytes 
CustomLog 
/var/log/httpd/domains/xxx.dtp.log combined 
ErrorLog 
/var/log/httpd/domains/xxx.nl.dtp.error.log 
<Directory /home/xxxx/domains/xxx.nl/public_html/dtp
Options +Includes -Indexes 
BandWidth all 262144 
php_admin_flag engine ON 
php_admin_flag safe_mode OFF 
</Directory
PHP Code:
<IfModule mod_bandwidth.c
BandWidthDataDir /tmp/apachebw 
BandWidthModule On 
</IfModule

 

 

 

 

Top