Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90169 - wget seems to hang after long time download via ftp
Summary: wget seems to hang after long time download via ftp
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Seemant Kulleen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-23 14:12 UTC by Petr
Modified: 2005-05-16 07:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr 2005-04-23 14:12:44 UTC
wget waits for timeout after ftp (but not http) download in both active and passive mode if download time is longer then approx. 15 min.
I have GPRS connection (9K/s max.), so wget seems to be hung after downloading more then 7MB.
Downloaded file is saved correctly. Probably time is the limiting factor, not the file size, as max. file size seems vary from download speed.

Reproducible: Always
Steps to Reproduce:
1. pppd call t-mobile
2.I using the default configuration for wget
3. wget ftp://ftp.linux.cz/pub/linux/gentoo/distfiles/linux-2.6.11.tar.bz2


Actual Results:  
All is correct, but when the download is finished, wget seems frozen:   
...   
 ==> PORT ... Master socket fd 4 bound.  
using port 39425.  
  
--> PORT 172,24,56,62,154,1  
  
200 PORT command successful  
done.    ==> RETR linux-2.6.11.tar.bz2 ...  
--> RETR linux-2.6.11.tar.bz2  
  
150 Opening BINARY mode data connection for linux-2.6.11.tar.bz2 (37075679  
bytes)  
done.  
Created socket fd 5.  
Length: 37,075,679 (unauthoritative)  
  
100%[====================================================================================>]  
37,075,679     9.05K/s    ETA 00:00  
  
Closing fd 5  
Closing fd 4  
{nothing happen for 15 minutes here - it really seems to be hung}  
22:09:40 (8.69 KB/s) - Control connection closed.  
Closing fd 3  
Retrying.  
  
--22:24:41--  
ftp://ftp.linux.cz/pub/linux/gentoo/distfiles/linux-2.6.11.tar.bz2  
  (try: 2) => `/usr/portage/distfiles/linux-2.6.11.tar.bz2'  
Found ftp.linux.cz in host_name_addresses_map (0x807e2c0)  
Connecting to ftp.linux.cz[147.251.48.205]:21... connected.  
...  
and the rest is OK.  
  

Expected Results:  
wget should end immediatelly after the download is finished as it does for  
shorten files 
 

Yes, first I see the wget is not really hung was when I wrote this report.  
  
$ emerge -pv wget   
[ebuild   R   ] net-misc/wget-1.9.1-r3  -build -debug* -ipv6 +nls -socks5 +ssl   
-static 0 kB   
   
   
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5,    
glibc-2.3.4.20040808-r1, 2.4.28 i686)    
=================================================================    
System uname: 2.4.28 i686 AMD Duron(tm) processor    
Gentoo Base System version 1.4.16    
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 20 2005,    
21:45:51)]    
dev-lang/python:     2.3.4-r1    
sys-devel/autoconf:  2.59-r6, 2.13    
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4    
sys-devel/binutils:  2.15.92.0.2-r1    
sys-devel/libtool:   1.4.3-r4, 1.5.10-r4    
virtual/os-headers:  2.4.21-r1    
ACCEPT_KEYWORDS="x86"    
AUTOCLEAN="yes"    
CFLAGS="-O3 -march=athlon -fomit-frame-pointer -pipe"    
CHOST="i686-pc-linux-gnu"    
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"    
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"    
CXXFLAGS="-O3 -march=athlon -fomit-frame-pointer -pipe"    
DISTDIR="/usr/portage/distfiles"    
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict    
userpriv usersandbox"    
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo/ http://gentoo.inode.at/    
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/    
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"    
LANG="cs_CZ"    
LINGUAS="cs"    
MAKEOPTS="-j2"    
PKGDIR="/usr/portage/packages"    
PORTAGE_TMPDIR="/var/tmp"    
PORTDIR="/usr/portage"    
PORTDIR_OVERLAY="/usr/local/portage"    
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"    
USE="x86 3dnow X aac aalib alsa apm arts avi berkdb bitmap-fonts cdr crypt cups    
curl dio directfb dvd emboss encode fam fbcon flac foomaticdb fortran gdbm gif    
gnokii gphoto2 gpm gtk gtk2 icq imlib java javascript jpeg kde libg++ libwww    
mad maildirmikmod mmx mnogosearch motif mozilla mp3 mpeg mysql nas ncurses nls    
ogg oggvorbis opengl oss pdflib perl png python qt quicktime readline sdl slang    
speex ssl svga tcpd tiff truetype truetype-fonts type1-fonts unicode v4l2    
vorbis xine xml2 xmms xv zlib linguas_cs"    
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-23 17:52:33 UTC
sorry
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-11 06:35:57 UTC
Petr, I'm not sure what to do about this bug...are you experiencing it with 1.9.1-r4 as well?
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-16 07:29:32 UTC
closing for no reponse. Please re-open if you experience this with -r4, or if you have a chance to report this upstream.