PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Wget hangs: process never terminates


Your Ad Here

Your Ad Here

Hello all.

how do I uninstall a .tar.gz package 1011
I can't help you with uninstalling the package that you have installed already. But the following can help you to avoid such headaches in the...

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



Your Ad Here

List | Previous | Next

how do I uninstall a .tar.gz package 1011

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Login freezes after entering pbuttword Obscurity, linux