Date: Fri, 27 Oct 2000 10:46:49 +0200 From: Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> To: Dag-Erling Smorgrav <des@ofug.org> Cc: Andrea Campi <Andrea.Campi@it.worldonline.com>, "'current@freebsd.org'" <current@FreeBSD.ORG> Subject: Re: Problem in fetch Message-ID: <20001027104649.C341@lucifer.bart.nl> In-Reply-To: <xzp7l6ulnpq.fsf@flood.ping.uio.no>; from des@ofug.org on Fri, Oct 27, 2000 at 09:58:41AM %2B0200 References: <BB7E4CF8D581D3119AA60090279365A83D1530@srv_wol.it.worldonline.com> <20001026220917.C47404@lucifer.bart.nl> <xzp7l6ulnpq.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
-On [20001027 10:00], Dag-Erling Smorgrav (des@ofug.org) wrote: >Jeroen Ruigrok van der Werven <jruigrok@via-net-works.nl> writes: >> [Making sure Dag-Erling gets the mail] >> -On [20001026 18:45], Andrea Campi (Andrea.Campi@it.worldonline.com) wrote: >> > When trying to install ports, very often I find everything freezes just >> > after fetch completes. If I hit ^C and type "make install" again, the >> > tarball is there, that's why I say that fetch is already done. >> > If I hit ^T, I see fetch sitting in sbwait, the time not increasing. >> Just a note, I got the same thing under 4-STABLE with the latest >> sources. > >Weird. I develop libfetch on -STABLE these days, and have no such problems. I guess it is some sites again. I don't have the problem with every http or ftp site. >Does this only happen with FTP documnts, BTW? I recently changed the >FTP code so it waits for the status code to arrive on the control >socket when the transfer is complete (so that connection caching will >work). That may be the problem; try setting FETCH_CMD to 'fetch -T60' >and see if it times out after sixty seconds. Might be, cannot be sure 100% right now, from memory, I'd say yes. The vim6 port for one is problematic. >> I'll get a debug/verbose dump for you tomorrow DES. > >Thanks! No problem. >Everybody else, if you don't know how to do this: > ># cd /usr/src/lib/libfetch && make clean && make obj && \ > make depend -DDEBUG && make -DDEBUG && make install > >then run fetch with -vv, and you'll get a full transcript of the >session (note that this can be quite a lot when fetching a >chunk-encoded HTTP document) [10:28] [root@lucifer] (7) {1} # FETCH_CMD='fetch -vv -T60' make fetch >> vim-6.0j-rt.tar.gz doesn't seem to exist in /usr/ports/distfiles/vim. >> Attempting to fetch from >> ftp://ftp.prz.tu-berlin.de/pub/unix/editors/vim/unreleased/unix/. looking up ftp.prz.tu-berlin.de connecting to ftp.prz.tu-berlin.de:21 fetch: vim-6.0j-rt.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.vim.org/pub/vim/unreleased/unix/. looking up ftp.vim.org connecting to ftp.vim.org:21 setting passive mode opening data connection initiating transfer fetch: remote: 1266150 / 972245439 Receiving vim-6.0j-rt.tar.gz (1266150 bytes): 100% 1266150 bytes transferred in 2.3 seconds (540.03 kBps) /usr/ports/editors/vim6 [10:29] [root@lucifer] (8) {0} # It timed out after the 60 seconds had passed. DEBUG output: [10:43] [root@lucifer] (30) {0} # FETCH_CMD='fetch -vv -T60' make fetch >> vim-6.0j-src.tar.gz doesn't seem to exist in >> /usr/ports/distfiles/vim. >> Attempting to fetch from >> ftp://ftp.prz.tu-berlin.de/pub/unix/editors/vim/unreleased/unix/. scheme: [ftp] user: [] password: [] host: [ftp.prz.tu-berlin.de] port: [0] document: [/pub/unix/editors/vim/unreleased/unix/vim-6.0j-src.tar.gz] ---> ftp.prz.tu-berlin.de:21 looking up ftp.prz.tu-berlin.de connecting to ftp.prz.tu-berlin.de:21 <<< 220 ProFTPD 1.2.0pre8 Server (ftp.prz.tu-berlin.de) [kumpel.prz.tu-berlin.de] >>> USER ftp <<< 331 Anonymous login ok, send your complete e-mail address as password. >>> PASS asmodai@lucifer.bart.nl <<< 230 Anonymous access granted, restrictions apply. >>> TYPE I <<< 200 Type set to I. >>> CWD /pub/unix/editors/vim/unreleased/unix <<< 550 /pub/unix/editors/vim/unreleased/unix: No such file or directory fetch: vim-6.0j-src.tar.gz: File unavailable (e.g., file not found, no access) >> Attempting to fetch from ftp://ftp.vim.org/pub/vim/unreleased/unix/. scheme: [ftp] user: [] password: [] host: [ftp.vim.org] port: [0] document: [/pub/vim/unreleased/unix/vim-6.0j-src.tar.gz] ---> ftp.vim.org:21 looking up ftp.vim.org connecting to ftp.vim.org:21 <<< 220-Welcome to the FTP archive of The Netherlands Unix Users Group, NLUUG. <<< 220- <<< 220-This server is located in The Netherlands, Europe. <<< 220-If you are abroad, please find an ftp site near you. <<< 220-Most information on this site is mirrored. <<< 220- <<< 220-Information about your login and any transfers you do are logged. <<< 220-If you don't like this, disconnect now. <<< 220- <<< 220-There are currently 153 users logged in (maximum 175). <<< 220- <<< 220-You may login as "ftp" or "anonymous". <<< 220- <<< 220 ftp.nluug.nl FTP server (Version wu-2.6.0(1) Fri Jun 23 09:17:44 EDT 2000) ready. >>> USER ftp <<< 331 Guest login ok, send your complete e-mail address as password. >>> PASS asmodai@lucifer.bart.nl <<< 230 Guest login ok, access restrictions apply. >>> TYPE I <<< 200 Type set to I. >>> CWD /pub/vim/unreleased/unix <<< 250-Unreleased versions of Vim - Vi IMproved - for Unix et al. <<< 250- <<< 250-The files in this directory contain test versions for Unix systems. <<< 250-Get both the "src" and the "rt" (runtime) archive! <<< 250-These are also used for VMS, BeOS, OS/2, Mac, etc., in combination <<< 250-with the "extra" archive (in ../extra). <<< 250- <<< 250-Ctags is no longer included. See http://ctags.sourceforge.net. <<< 250-A copy of the sources is in the "extra" directory. <<< 250- <<< 250- SIZE FILE CONTENTS <<< 250-1266150 vim-6.0j-rt.tar.gz runtime files for version 6.0j <<< 250-1359682 vim-6.0j-src.tar.gz sources for version 6.0j <<< 250- <<< 250-1256504 vim-6.0i-rt.tar.gz runtime files for version 6.0i <<< 250-1342754 vim-6.0i-src.tar.gz sources for version 6.0i <<< 250- <<< 250-1215971 vim-6.0h-rt.tar.gz runtime files for version 6.0h <<< 250-1476782 vim-6.0h-src.tar.gz sources for version 6.0h <<< 250- <<< 250- 33612 vim-5.7a-5.7-rt.diff.gz diff between 5.7a and 5.7 rt <<< 250- 9492 vim-5.7a-5.7-src.diff.gz diff between 5.7a and 5.7 src <<< 250-1092654 vim-5.7a-rt.tar.gz runtime files for version 5.7a <<< 250-1230155 vim-5.7a-src.tar.gz sources for version 5.7a <<< 250- 170209 vim-5.6-5.7a-rt.diff.gz diff between 5.6 and 5.7a rt <<< 250- 91119 vim-5.6-5.7a-src.diff.gz diff between 5.6 and 5.7a src <<< 250- <<< 250- 110982 vim-5.6a-5.6-rt.diff.gz diff between 5.6a and 5.6 rt <<< 250- 66751 vim-5.6a-5.6-src.diff.gz diff between 5.6a and 5.6 src <<< 250-1000326 vim-5.6a-rt.tar.gz runtime files for version 5.6a <<< 250-1210746 vim-5.6a-src.tar.gz sources for version 5.6a <<< 250- 104607 vim-5.5-5.6a-rt.diff.gz diff between 5.5 and 5.6a rt <<< 250- 71831 vim-5.5-5.6a-src.diff.gz diff between 5.5 and 5.6a src <<< 250- <<< 250 CWD command successful. >>> SIZE vim-6.0j-src.tar.gz <<< 213 1359682 size: [1359682] >>> MDTM vim-6.0j-src.tar.gz <<< 213 20001022201209 last modified: [2000-10-22 20:12:09] setting passive mode >>> PASV <<< 227 Entering Passive Mode (192,87,106,122,7,50) opening data connection initiating transfer >>> RETR vim-6.0j-src.tar.gz <<< 150 Opening BINARY mode data connection for vim-6.0j-src.tar.gz (1359682 bytes). fetch: remote: 1359682 / 972245529 Receiving vim-6.0j-src.tar.gz (1359682 bytes): 100% 1359682 bytes transferred in 2.2 seconds (597.53 kBps) And it hung again. After the timeout passed it continued getting the second file, and after that it hung again until timeout passed. Files are intact though. HTH, let me know if you need more info. -- Jeroen Ruigrok van der Werven Network- and systemadministrator <jruigrok@via-net-works.nl> VIA Net.Works The Netherlands BSD: Technical excellence at its best http://www.via-net-works.nl Confutatis maledictis, flammis acribus addictis... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001027104649.C341>