Since shapecfg is no longer part of the distro what are people using in place of cbq to limit/throttle bandwidth? I have an ftp mirror that, if left unchecked, will suck up the entire bandwidth of the CoLo site.
TIA, Joe
CBQ is still part of CentOS, but i'd highly recommend using HTB instead.
If you want to use CBQ, you can the cbq.init script from http://sourceforge.net/projects/cbqinit/ and I'd also recommend having a look at http://lartc.org
HTH
On 8/8/05, Joe Klemmer klemmerj@webtrek.com wrote:
Since shapecfg is no longer part of the distro what are people using in
place of cbq to limit/throttle bandwidth? I have an ftp mirror that, if left unchecked, will suck up the entire bandwidth of the CoLo site.
TIA, Joe
-- My Useless Vanity Page - http://www.webtrek.com/joe See my blog, sumo game ranks and other useless junk _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
HTB has a htb.init script too. It's far better than CBQ if you want to "hardcode" limits and can narrow the targets to fix machines and protocols. (I mean: all the ftp traffic or all that 192.168.1.20 can eat up from bandwith). bye, Ago
CBQ is still part of CentOS, but i'd highly recommend using HTB instead.
If you want to use CBQ, you can the cbq.init script from http://sourceforge.net/projects/cbqinit/ and I'd also recommend having a look at http://lartc.org
HTH
On 8/8/05, Joe Klemmer klemmerj@webtrek.com wrote:
Since shapecfg is no longer part of the distro what are people
using in place of cbq to limit/throttle bandwidth? I have an ftp mirror that, if left unchecked, will suck up the entire bandwidth of the CoLo site.
TIA, Joe
Understanably, but I prefer to built my own scripts, rather than using the init'ed versions. On every occasion the requirements differ. Anycase, Joe specifically asked for CBQ, if CBQ works for him, he can continue using it with cbq.init...
On 8/8/05, Deim Ágoston ago@lsc.hu wrote:
HTB has a htb.init script too. It's far better than CBQ if you want to "hardcode" limits and can narrow the targets to fix machines and protocols. (I mean: all the ftp traffic or all that 192.168.1.20 can eat up from bandwith). bye, Ago
CBQ is still part of CentOS, but i'd highly recommend using HTB instead.
If you want to use CBQ, you can the cbq.init script from http://sourceforge.net/projects/cbqinit/ and I'd also recommend having a look at http://lartc.org
HTH
On 8/8/05, Joe Klemmer klemmerj@webtrek.com wrote:
Since shapecfg is no longer part of the distro what are people
using in place of cbq to limit/throttle bandwidth? I have an ftp mirror that, if left unchecked, will suck up the entire bandwidth of the CoLo site.
TIA, Joe
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
What's your ftp daemon ? If it is the default vsftp just set the anon_max_rate=xxxxx, I use that on a centos 4 machine that is an official Fedora mirror and it works nicely. I run vsftp under xinetd as well to enable features like -
per_source = 40 instances = 400 max_load = 10.0 nice = 17
Since shapecfg is no longer part of the distro what are people using in
place of cbq to limit/throttle bandwidth? I have an ftp mirror that, if left unchecked, will suck up the entire bandwidth of the CoLo site.
TIA, Joe
Tony Wicks wrote:
What's your ftp daemon?
It is vsftpd.
If it is the default vsftp just set the anon_max_rate=xxxxx, I use that on a centos 4 machine that is an official Fedora mirror and it works nicely. I run vsftp under xinetd as well to enable features like -
per_source = 40 instances = 400 max_load = 10.0 nice = 17
I've got some limiting stuff in vsftp.conf but it doesn't seem to work the way I need it. I need to limit the total ftp traffic to somewhere in the 96K or less area. I'd also rather not run vsftpd under xinetd, but if it's going to be that or no ftp then I'll do it.
FWIW, this is what my vsftpd.conf looks like. If there's something I'm missing or something that I can set better feel free to speak up. :-)
# cat /etc/vsftpd/vsftpd.conf | grep -v '#' anonymous_enable=YES local_enable=YES write_enable=YES local_umask=022 anon_upload_enable=YES dirmessage_enable=YES message_file=.message xferlog_enable=YES connect_from_port_20=YES chown_uploads=YES chown_username=ftp xferlog_file=/var/log/xferlog xferlog_std_format=YES idle_session_timeout=600 data_connection_timeout=600 ascii_upload_enable=YES ftpd_banner=Welcome to the WebTrek FTP server. ls_recurse_enable=YES anon_max_rate=96000 pasv_enable=YES accept_timeout=60 pasv_min_port=6144 pasv_max_port=8191 listen=YES tcp_wrappers=YES max_clients=50 max_per_ip=3
Kenneth Kalmer wrote:
CBQ is still part of CentOS,
Really? I couldn't find it in the yum repos.
# yum search shapecfg Searching Packages: Setting up Repos update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files update : ################################################## 84/84 base : ################################################## 1406/1406 extras : ################################################## 30/30 No Matches found
but i'd highly recommend using HTB instead.
Ok, thanks. I'm off to freshmeat.
If you want to use CBQ, you can the cbq.init script from http://sourceforge.net/projects/cbqinit/ and I'd also recommend having a look at http://lartc.org
Again, thanks.
On 8/8/05, Joe Klemmer klemmerj@webtrek.com wrote:
Kenneth Kalmer wrote:
CBQ is still part of CentOS,
Really? I couldn't find it in the yum repos.
Yes really, see below...
# yum search shapecfg Searching Packages: Setting up Repos update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files update : ################################################## 84/84 base : ################################################## 1406/1406 extras : ################################################## 30/30 No Matches found
It's not a package on it's own. It's in the iproute2 package, for more information see the following man pages: tc(8), tc-cbq(8), tc-htb(8), tc-sfq(8), tc-red(8), tc-tbf(8), tc-pfifo(8), tc-bfifo(8), tc-pfifo_fast(8), tc-filters(8)
I've never used shapecfg, but I can assume that it's only a utility for setting up CBQ-based traffic shaping... cbq.init and htb.init will do the same...
but i'd highly recommend using HTB instead.
Ok, thanks. I'm off to freshmeat.
Save the butchery for later, goto http://sourceforge.net/projects/htbinit/ http://luxik.cdi.cz/~devik/qos/htb/ (very technical, but intersting) http://lartc.org/howto (a definite must!!!)
If you want to use CBQ, you can the cbq.init script from http://sourceforge.net/projects/cbqinit/ and I'd also recommend having a look at http://lartc.org
Again, thanks.
Always a pleasure to help some bandwidth get into shape
Kenneth Kalmer wrote:
Really? I couldn't find it in the yum repos.
Yes really, see below...
[...]
It's not a package on it's own. It's in the iproute2 package, for more information see the following man pages: tc(8), tc-cbq(8), tc-htb(8), tc-sfq(8), tc-red(8), tc-tbf(8), tc-pfifo(8), tc-bfifo(8), tc-pfifo_fast(8), tc-filters(8)
Ah, yes. I found it.
I've never used shapecfg, but I can assume that it's only a utility for setting up CBQ-based traffic shaping... cbq.init and htb.init will do the same...
Yes, shapecfg was just a pre-organized (if there is such a thing) setup for cbq.
Ok, thanks. I'm off to freshmeat.
Save the butchery for later, goto
Heh, already tried. Couldn't find much of anything other than LARTC and a no longer valid link for a cbq gui tool.
http://sourceforge.net/projects/htbinit/ http://luxik.cdi.cz/~devik/qos/htb/ (very technical, but intersting) http://lartc.org/howto (a definite must!!!)
Much thanks again. Initial glance looks like htb will be much easier to deal with than cbq.
Again, thanks.
Always a pleasure to help some bandwidth get into shape
I'm a more-or-less official mirror for a few Linux distros, including fedora. I'm sure that a few people will be happy if/when I get ftp back up.