DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD Ports and Packages

FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 29th July 2008
pax's Avatar
pax pax is offline
FreeBSD baby
 
Join Date: Jul 2008
Location: Serbia, Belgrade/Pozarevac
Posts: 9
Default Set speed limit for ports download

Hi all,

I want to set some kind of download speed limit when I'm installing ports, I think that it uses fetch to retrieve files from internet, so I think that there is way. I'm needing this because I'm downloading files from work, and the other employer have troubles using net because I occupy most of bandwidth... Is there anyway to do this, I already searched internet for some kind of solution, but I have not found anything useful...

Regards,
pax
Reply With Quote
  #2   (View Single Post)  
Old 29th July 2008
jbhappy's Avatar
jbhappy jbhappy is offline
Real Name: Jeff
Port Guard
 
Join Date: Jun 2008
Location: MI, US
Posts: 30
Default

Quote:
Originally Posted by pax View Post
Hi all,

I want to set some kind of download speed limit when I'm installing ports, I think that it uses fetch to retrieve files from internet, so I think that there is way. I'm needing this because I'm downloading files from work, and the other employer have troubles using net because I occupy most of bandwidth... Is there anyway to do this, I already searched internet for some kind of solution, but I have not found anything useful...
I used wget when I had a need to limit my port-source download rate. install the ftp/wget port and then put this in /etc/make.conf:

Code:
FETCH_BINARY=/usr/local/bin/wget
FETCH_ARGS="-t 1 -c --limit-rate=10k"
adjust the "10k" to the desired download rate in kiloBYTES per second. that should preserve most of fetch's ports behaviour (keep partial files, no excessive retries).
Reply With Quote
  #3   (View Single Post)  
Old 29th July 2008
pax's Avatar
pax pax is offline
FreeBSD baby
 
Join Date: Jul 2008
Location: Serbia, Belgrade/Pozarevac
Posts: 9
Default

Thank you very much, I didn't even know that there is way to change fetch with wget, I'm old wget user so this is great information for me

Regards,
pax
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A Few Questions, Opera, CS, Speed, Jail. bryn1u OpenBSD General 11 12th May 2009 02:54 PM
FreeBSD + Disk speed graudeejs FreeBSD Installation and Upgrading 9 19th November 2008 09:33 PM
RAID0 speed? graudeejs FreeBSD General 7 12th November 2008 08:46 PM
Speed of and speeding up sshfs ninjatux FreeBSD General 2 30th July 2008 08:44 PM
FF download day!? kace Off-Topic 24 28th June 2008 05:57 PM


All times are GMT. The time now is 09:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick