Wget hangs: process never terminates
- From: "ponga" <ponga@xxxxxxxxxxxxxxx>
- Date: 25 Apr 2006 11:01:15 -0700
Hello all.
I use wget in a a shell script to do some offsite backup stuff, so the
script is kicked off using cron. However, ever time - wget hangs in the
middle of downloading a file! The result is, I get a partially
downloaded file and the cron job NEVER terminates.
I ran just the wget command from a shell with degug output to see what
I could see, but nothing of interest is shown! It shows the dl
progress, then sometime in the middle (arbitrary) - wget just hangs...
the estimated time goes to infinity and file never completes and wget
does not terminate!! After I Ctrl-C, then re-run wget with the -c
option, the dl picks up from where it left off and the file is
eventually downloaded.
Specifics: File is 800MB in size coming over a 1.5Mb connection using
http.
Can someone please offer advice as how to fix this?? I would have
thought that wget would be more robust and I would try curl, but I've
seen curl do this same thing before too (with urpmi). My other thought
was to have ANOTHER cron job run that finds the hung wget job,
terminates it, then re-runs wget with the -c option... but thats kinda
messy.
Can anyone suggest anything??
TIA, any help would be GREATLY appreciated!!
-Mike
.
- Follow-Ups:
- Re: Wget hangs: process never terminates
- From: noEMA
- Re: Wget hangs: process never terminates
- Prev by Date: Re: send hostname in dhclient.conf
- Next by Date: Re: Specifying script as printer backend
- Previous by thread: send hostname in dhclient.conf
- Next by thread: Re: Wget hangs: process never terminates
- Index(es):
Relevant Pages
|