Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 179579 - stabilize www-apache/mod_cband-0.9.7.5
Summary: stabilize www-apache/mod_cband-0.9.7.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-23 20:32 UTC by Sergiy Borodych
Modified: 2007-06-12 00:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sergiy Borodych 2007-05-23 20:32:28 UTC
Please stabilize www-apache/mod_cband-0.9.7.5 
in portage since 19 Nov 2006
no open bugs
Comment 1 Christian Heim (RETIRED) gentoo-dev 2007-05-23 20:42:53 UTC
Has anyone a kinda "test" or steps for the arch devs/AT's for this package to assert if it's ready for stable ?
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-05-26 12:53:56 UTC
Set a limit to something small (like 1, 2 KB/s) and check if it works (try to download a file from http://localhost/).
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-06-07 09:34:38 UTC
Steps to test:

 1. merge mod_cband ;)
 2. add -D CBAND to /etc/conf.d/apache2
 3. in /etc/apache2/vhosts.d/00_default_vhost.conf add:

  CBandSpeed 100kB 10 5

 4. *BE SURE THAT THERE IS ServerName DIRECTIVE FOR THAT VHOST*:

  ServerName localhost

 5. Check http://localhost/cband-status/
 6. Create a test file:

  dd if=/dev/zero of=/var/www/localhost/htdocs/big-file bs=1M count=16

 7. Try to download http://localhost/big-file - it should go slow (around 100kbs), also check /cband-status/ whenever it shows that the bandwidth is used.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-06-07 11:16:35 UTC
(In reply to comment #3)
> Steps to test:

 That is a great help.  Thanks and x86 stable.
Comment 5 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2007-06-08 17:00:17 UTC
====amd64====

merges fine. No collisions. Works great  with the tests provided(thanks!). 

Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r7 x86_64 unknown
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 02 Jun 2007 23:30:01 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="collision-protect distlocks metadata-transfer multilib-strict sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.1.201/gentoo-portage"
USE="X acl aiglx aim amd64 berkdb bitmap-fonts branding cli cracklib crypt cups dri fortran gdbm gpm gtk iconv imap ipv6 isdnlog libg++ midi mmx mpeg3 mudflap ncurses nls nptl nptlonly nvidia opengl openmp pam pcre perl pppd python qt3 readline reflection session sockets spl sqlite3 sse sse2 ssl tcpd test truetype-fonts type1-fonts unicode vim xcomposite xine xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 6 Christoph Mende (RETIRED) gentoo-dev 2007-06-12 00:53:14 UTC
amd64 done, thanks Thomas, closing as last arch