[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218671: apache-common: mod_bandwidth BandWidth number off by a factor of five



Package: apache-common
Version: 1.3.27.0-2
Severity: minor


I have this in my Apache configuration file:
| BandWidthModule On
| BandWidthPulse 1000000
| <Directory /var/pub/library>
| # Though the documentation says the number specifies the number of bytes per
| # second.  In practice the value needs to be several times higher than the
| # number of bytes per second you want.
| # I'm going for 8KiB/s.
| BandWidth all 41000
| </Directory>
When I use that configuration and download over a 100Mbit/s link I get:
| 0% [                                     ] 862,448        8.02K/s ETA 22:54:47

The documentation (not part of the Debian binary) says the bandwidth
limit is in bytes/s meanwhile it seems to be closer to bytes/five second
period.

The documentation I am using came from the source code to the bandwidth
module from the Debian package.  I suspect the module's implementation
needs to be corrected.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux geek 2.4.20-3-586tsc #1 Sat Jun 7 21:34:16 EST 2003 i586
Locale: LANG=C, LC_CTYPE=C

Versions of packages apache-common depends on:
ii  libc6                         2.3.2-7    GNU C Library: Shared libraries an
ii  libdb4.1                      4.1.25-6   Berkeley v4.1 Database Libraries [
ii  libexpat1                     1.95.6-6   XML parsing C library - runtime li
ii  mime-support                  3.23-1     MIME files 'mime.types' & 'mailcap
ii  perl [perl5]                  5.8.0-18   Larry Wall's Practical Extraction 

-- no debconf information




Reply to: