LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 03-09-2012, 05:13 AM   #1
kennethf
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Rep: Reputation: Disabled
Large http downloads hang


Large http and https downloads stop after a minute or so. The browser (doesn't matter which) and bash shell do the same. User doesn't matter.

The weird part is that when I do the download in Firefox, the download window hangs as usual but when I press [pause] then [resume], downloading continues where it left off.

ftp downloads don't have this problem so huge files can be downloaded without user intervention.

It behaves as though http(s) downloads require periodic user intervention. Is this configurable somewhere? TIA

Mandriva 2011.0
KDE 4.6.5
 
Old 03-09-2012, 12:55 PM   #2
njlinuxmike
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Rep: Reputation: Disabled
Do you observer that the FTP and HTTP speeds are similar or dissimilar? If the FTP connection is using less bandwidth... I would suspect it may be your router that is hanging and not actually Firefox. You can also test and rule out Firefox as the culprit by attempting the same download (that fails in the browser) on the command line with wget. If wget works fine, then perhaps its a bug in FF.

Cheers

Mike
 
Old 03-10-2012, 01:15 AM   #3
kennethf
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
It doesn't hang in Windows nor while downloading large binaries in newsgroups so the hardware can be ruled out.

It does hang using the Linux command line and browsers other than Firefox. I'm wondering if Linux allows for rules on certain ports, for example port 80 (http) pauses but port 20 (ftp) doesn't.
 
Old 03-10-2012, 01:25 AM   #4
njlinuxmike
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by kennethf View Post
It doesn't hang in Windows nor while downloading large binaries in newsgroups so the hardware can be ruled out.

It does hang using the Linux command line and browsers other than Firefox. I'm wondering if Linux allows for rules on certain ports, for example port 80 (http) pauses but port 20 (ftp) doesn't.
There are ways to throttle traffic in linux, Ive never heard of deliberately causing pauses though. Either way, Im positive no distro would implement that out of the box. So unless you did it I think its safe to say that's not it.

Are you wireless or wired? Could be a driver bug either way.
 
Old 03-10-2012, 01:39 AM   #5
kennethf
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Wired. I'm sure no distro would do it out of the box either. I'm just guessing.

Does http use a cache or buffer somewhere that's maybe not big enough?
 
Old 03-10-2012, 01:42 AM   #6
njlinuxmike
LQ Newbie
 
Registered: Feb 2012
Posts: 9

Rep: Reputation: Disabled
Quote:
Originally Posted by kennethf View Post
Wired. I'm sure no distro would do it out of the box either. I'm just guessing.

Does http use a cache or buffer somewhere that's maybe not big enough?
Perhaps your browsers cache... browser memory... Firefox? Do some googling and check the "about:config" settings to see if there is a culprit in there. Also, you can watch for what top tells you while attempting a download, see if you find something suspicious. I do remember the being a few memory.cache type settings in the browser.

Good luck.
 
Old 03-10-2012, 04:23 PM   #7
mgichoga
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 16
what about using wget to download the file and log the resulting activity? This will tell you if it's a network problem or application specific issue.

wget https://someurl/somefile.zip --output-file=logfile
 
Old 03-11-2012, 07:51 PM   #8
kennethf
LQ Newbie
 
Registered: Jan 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
I was finally able to complete the download inside the bash shell by periodically pressing ctrl-s (pause) and ctrl-q (resume) until it finished. Just like pressing the pause and resume keys while downloading with the GUI.

Somehow it limits the amount of http(s) data it will permit until more is explicitly requested.

Thanks. I'm still looking for a real solution.
 
  


Reply

Tags
downloads, hang


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Downloads hang Centos 4.1 Homer Glemkin Linux - Hardware 0 08-15-2005 11:22 AM
fedora downloads hang ylts Linux - Software 3 03-03-2005 10:04 PM
Large downloads fail intermittently? Bagleemo Linux - Networking 3 02-02-2004 09:08 AM
large downloads (HTTP, FTP) stall (DSL connection) Choye Linux - Networking 0 01-19-2004 03:55 PM
HTTP downloads hangs bluemoose Linux - Networking 1 07-07-2003 09:15 PM


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

Main Menu
Advertisement
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