Solved

Need to Limit Upload Speed

Posted on 2008-10-08
5
585 Views
Last Modified: 2012-06-27
Hello,

I work for a new media company.  We are often uploading very large files to ftp and through http.  The problem of course is when we are uploading the internet connection as a whole crawls because of the lack of overhead for acks (I'm assuming).  

Is there a way to limit our outbound connect speed in order to leave some headroom.  I don't care if this is even done on each workstation.  Its rare that more than one person is uploading at a time and its generally just one person that is uploading to the printers/clients in particular.  I understand that even if I were to limit everyone and two people were uploading at once it would negate the savings.  So I'll work under the constraints of one person uploading at a time.

We have both OSX and Windows machines in the office, the main "offender" being the OSX machine.  Also, his FTP program does allow throttling, but if he has to dump something through HTTP he has no control.

Thanks for any advice!
0
Comment
Question by:blumbra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 78

Expert Comment

by:arnold
ID: 22671245
What router do you have?  You might be able to limit the bandwidth on the router.
0
 
LVL 2

Author Comment

by:blumbra
ID: 22671830
We just have a Linksys WRT54G2.  I had an ipCop router running in here until last weekend.  Lost power and it smoked.  Had to get that locally to get us by.  I would actually prefer a simple WRT54G with the version I can use a 3rd party firmware.

The QoS stuff doesn't seem to work really well.  I tried that already.  I even tried it on the old router months ago without success.  
0
 
LVL 4

Expert Comment

by:Dave_Watkin
ID: 22686899
What FTP program is the OSX using? For example, Cyberduck has the ability to cap bandwith in it's preferences.
0
 
LVL 10

Accepted Solution

by:
TCB1 earned 500 total points
ID: 22687272
You need to use the unix command ipfw. It will do bandwidth limiting.
Here are some examples of its use:

sudo ipfw pipe 1 config bw 15KByte/s

creates a pipe that only allows up to 15KB/s to go through.

Then:    

sudo ipfw add 1 pipe 1 src-port 80

will attach that pipe to the outgoing traffic on port 80, effectively limiting the outgoing traffic of the web server.    

sudo ipfw delete 1

will remove the pipe from the port.
 
I'll also attach the man page for ipfw.
ipfw-man.txt
0
 
LVL 2

Author Closing Comment

by:blumbra
ID: 31504319
Great solution for OS X. It solves my current problem.  I'm setting the throttling on Port 80 and we'll manage the FTP throttling right from within Cyberduck (FTP Client).  
0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

688 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question