Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 04-19-2005, 02:52 AM   #1
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, 09:02 AM   #2
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.


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 / openSUSE 6 01-28-2007 01:17 PM
New Fedora Internet connection slow slow slow matrim Fedora 9 07-29-2005 02:39 PM
Slow scp & wget transfer rate in Fedora Cora 64 joey52 Linux - Networking 17 12-27-2004 02:01 PM
Cedega: CS 1.6 Slow -> timeout Arch.Fox Linux - Games 0 11-09-2004 01:51 PM
RH8 vs. W2k - Slow, slow, slow zerojosh Linux - Software 2 06-30-2003 08:19 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:54 AM.

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