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

Matthew Dillon dillon at apollo.backplane.com
Sun Apr 17 23:03:56 PDT 2005


:Hello!
:
:	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:
:...
:
:fetch http://www.lighttpd.net/download/lighttpd-1.4.0-20050402-1520.tar.gz
:Receiving lighttpd-1.4.0-20050402-1520.tar.gz (689739 bytes): 73%
:^C
:Receiving lighttpd-1.4.0-20050402-1520.tar.gz (689739 bytes): 99% (ETA 
:00:00)
: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.

						-Matt






More information about the Bugs mailing list