LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 04-19-2005, 01:52 AM   #1
Basta
LQ Newbie
 
Registered: Jun 2004
Posts: 15

Rep: Reputation: 0
wget timeout very slow


I'm using wget to retrieve a file on a webserver. However if the webserver is down wget gets very slow. I'm using --timeout=1 --tries=1 and still it takes about 3 minutes before wget gives it up. Anyting I can do to speed this process up?
 
Old 04-21-2005, 08:02 AM   #2
Donboy
Member
 
Registered: Aug 2003
Location: Little Rock, Arkansas
Distribution: RH, Fedora, Suse, AIX
Posts: 736

Rep: Reputation: 31
Better question is.... why do you want to run wget to retrieve files from a server you know is down? My only thought is maybe you are trying to write a script that will wget a certain file at scheduled intervals.... but then, why do you care? If the script is running at 3am, who cares if it takes 3 minutes or 30 minutes?

You didnt' say what distro you're using, but on older versions of wget, the timeout option was only for reads... not for establishing the connection initially. The developers said is was going to be fixed in future releeases... that was a couple of years ago. Maybe you need to update your wget to the latest version and see if there are new options for connection timouts.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.2 & SATA - Slow, Slow, Slow jess1975 Suse/Novell 6 01-28-2007 12:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 01:39 PM
Slow scp & wget transfer rate in Fedora Cora 64 joey52 Linux - Networking 17 12-27-2004 01:01 PM
Cedega: CS 1.6 Slow -> timeout Arch.Fox Linux - Games 0 11-09-2004 12:51 PM
RH8 vs. W2k - Slow, slow, slow zerojosh Linux - Software 2 06-30-2003 07:19 PM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration