sometimes fetch still hangs when fetching things (even in 1.2.0)

Matthew Dillon dillon at
Sun Apr 17 23:03:56 PDT 2005

:	Sometimes I still get "hangs" when fetching things for building ports. 
:Usually it stops around 99%, but in this example it stopped at 73% so I 
:pressed Ctrl-C and it went further to 99%. In the other window I did 
:truss the fetch while waiting at 73% so the output is for activity after 
:I pressed ctrl-c:
:Receiving lighttpd-1.4.0-20050402-1520.tar.gz (689739 bytes): 73%
:Receiving lighttpd-1.4.0-20050402-1520.tar.gz (689739 bytes): 99% (ETA 
:689152 bytes transferred in 549.9 seconds (1.22 kBps)
:fetch: transfer interrupted

    What we need is a tcpdump showing the transfer.

    * Start the fetch

    * Use netstat to figure out what local port the tcp connection is
      going to.

    * Then use tcpdump to dump just the related packets e.g.:

	tcpdump -n -i INTERFACE -l -s 4096 port PORTNUMBER > FILENAME

    When the fetch stops working, wait a few minutes then ^C the tcpdump,
    gzip-up the resulting file, and put it somewhere where we can fetch it.


More information about the Bugs mailing list