LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 11-29-2004, 02:00 PM   #1
andy7t
Member
 
Registered: Oct 2004
Posts: 43

Rep: Reputation: 15
Limit Bandwidth


Hi,

I have a server that i need to cap the usage at 5Mbps for, since it is using up too much bandwidth.

Fedora Core 2.
Any ideas?

The port cannot be capped at that low a level, only at 10Mbps.

I a temporary solution with mod_throttle, but that just gives a 503 error when it's all be used up, which is no good.

We need it to actually limit the transfer rate for the whole server to say 5Mbps.

Please help, because we are running out of bandwidth :-(

I have heard iptables is an option.
 
Old 11-29-2004, 02:09 PM   #2
phatboyz
Member
 
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358

Rep: Reputation: 30
What service are your trying to restrict. FTP,HTTP?
 
Old 11-29-2004, 02:09 PM   #3
andy7t
Member
 
Registered: Oct 2004
Posts: 43

Original Poster
Rep: Reputation: 15
HTTP mainly.
 
Old 11-29-2004, 03:04 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would suggest looking at some sort of QoS management. some acronyms you might want to look at are cbq or htb

http://sourceforge.net/projects/htbinit/ - htb - based on cbq

http://sourceforge.net/projects/cbqinit - cbq
http://users.skynet.be/cbqinit/ - gui for cbq
 
Old 11-30-2004, 01:30 AM   #5
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
http://www.knowplace.org/shaper/

What you want to do is called "Traffic Shaping"
 
Old 11-30-2004, 01:37 AM   #6
andy7t
Member
 
Registered: Oct 2004
Posts: 43

Original Poster
Rep: Reputation: 15
OK, i'm looking at that shaper, but i'm confused!!

There seem to be so many options!
Can someone tell me which command/steps i need to use to limit the maxiumum traffic on the whole server (or just HTTP) to 5Mbps?

All of it seems to limiting indivdual users, and i don't want users downloading at 10Kb/s when there is lots of spare capacity- so the whole server in general really needs to be limited to 5Mbps. Also, it would be better if it still allowed requests, but everyone elses download was slow.
 
Old 11-30-2004, 02:44 AM   #7
monroetech
Member
 
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53

Rep: Reputation: 15
sorry,

Check this out then....

http://www.cohprog.com/v3/bandwidth/doc-en.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
How limit bandwidth cuencano Linux - Networking 10 07-18-2005 04:57 AM
NistNet bandwidth limit help... sohocoffee2 Linux - Networking 1 07-30-2004 02:29 AM
apache Bandwidth Limit genexis Linux - General 0 02-18-2004 04:54 AM
bandwidth limit n_sergiu Linux - Networking 5 08-05-2003 05:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration