DragonFly BSD
DragonFly bugs List (threaded) for 2005-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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

From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 17 Apr 2005 23:02:44 -0700 (PDT)

:	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%
: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.


[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]