Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
11-29-2004, 02:00 PM
|
#1
|
|
Member
Registered: Oct 2004
Posts: 43
Rep:
|
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.
|
|
|
|
11-29-2004, 02:09 PM
|
#2
|
|
Member
Registered: Feb 2004
Location: Mooresville NC
Distribution: CentOS 4,Free BSD,
Posts: 358
Rep:
|
What service are your trying to restrict. FTP,HTTP?
|
|
|
|
11-29-2004, 02:09 PM
|
#3
|
|
Member
Registered: Oct 2004
Posts: 43
Original Poster
Rep:
|
HTTP mainly.
|
|
|
|
11-30-2004, 01:30 AM
|
#5
|
|
Member
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53
Rep:
|
http://www.knowplace.org/shaper/
What you want to do is called "Traffic Shaping"
|
|
|
|
11-30-2004, 01:37 AM
|
#6
|
|
Member
Registered: Oct 2004
Posts: 43
Original Poster
Rep:
|
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.
|
|
|
|
11-30-2004, 02:44 AM
|
#7
|
|
Member
Registered: Nov 2004
Location: Toledo, OH
Distribution: SuSE 9.2 Pro
Posts: 53
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:54 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|