Subject: Re: ftp hanging [was: Re: bulk build hanging?]
To: Hubert Feyrer <hubert@feyrer.de>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
List: tech-pkg
Date: 06/24/2004 13:38:41
Am 24.06.2004 um 13:00 Uhr +0200 schrieb Hubert Feyrer:
>On Thu, 24 Jun 2004, Hauke Fath wrote:
>> an attempt on a bulk build of pkgsrc-2004Q2 hangs on fetching the
>> print/pcps distfile pcps840.tar.gz. That's fine, since a manual ftp
>> attempt hangs at the same point; but shouldn't it time out, and try
>> to get the distfile from elsewhere, or fail?
>>
>> Instead, it hangs there for > 12 hours now...
>
>I have seen the error of bulk builds hanging as ftp hangs a lot before,
>and if this is reproducable, maybe it can be used to debug what's wrong in
>ftp(1) that it doesn't time out properly.
For the record...
[hf@heiligenberg] /tmp > uname -a
NetBSD heiligenberg 2.0_BETA NetBSD 2.0_BETA (HEILIGENBERG) #0: Wed
Jun 23 17:36:56 CEST 2004
hf@heiligenberg:/var/obj/netbsd-builds/2_0/i386/sys/arch/i386/compile/HEILIGENBERG
i386
[hf@heiligenberg] /tmp > ftp -d ftp://garbo.uwasa.fi/unix/pcps/pcps840.tar.gz
isipv6addr: got 0 for ftp://garbo.uwasa.fi/unix/pcps/pcps840.tar.gz
parse_url: user `<null>' pass `<null>' host garbo.uwasa.fi port
ftp(21) path `unix/pcps/pcps840.tar.gz'
fetch_ftp: user `<null>' pass `<null>' host garbo.uwasa.fi port ftp
path `unix/pcps' dir `unix/pcps' file `pcps840.tar.gz'
Connected to garbo.uwasa.fi.
220->
220-> @@@@ @@@
220-> @@ @@ @@
220-> @@ @@@@ @@ @@@ @@ @@@@
220-> @@ @@ @@@ @@ @@@@@ @@ @@
220-> @@ @@@ @@@@@ @@ @@ @@ @@ @@ @@
220-> @@ @@ @@ @@ @@ @@ @@ @@ @@
220-> @@@@@ @@@ @ @@@@ @@ @@@ @@@@
220->
220-> Welcome to Garbo ftp archives at the University of Vaasa, Finland!
[snip ]
---> PWD
257 "/unix/pcps"
got remotepwd as `/unix/pcps'
local: pcps840.tar.gz remote: pcps840.tar.gz
---> SIZE pcps840.tar.gz
213 84459
---> EPSV
229 Entering Extended Passive Mode (|||49563|)
...and then it hangs indefinitely.
Can I set options for bulk build ftp fetches globally?
hauke
--
Institut für Nachrichtentechnik /~\ The ASCII Ribbon Campaign
FG Signalverarbeitung \ / No HTML/RTF in email
TU Darmstadt X No Word docs in email
Ruf +49-6151-16-3281, Fax -3778 / \ Respect for open standards