[MacPorts] #41452: Fetching distfiles will inexplicably hang in Mavericks

MacPorts noreply at macports.org
Tue Nov 19 16:34:02 PST 2013


#41452: Fetching distfiles will inexplicably hang in Mavericks
----------------------------+--------------------------------
  Reporter:  elfprince13@…  |      Owner:  macports-tickets@…
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:                 |   Keywords:
      Port:                 |
----------------------------+--------------------------------

Comment (by ryandesign@…):

 Hmm. Well, MacPorts sets the following curl options:
 {{{
 #define _CURL_CONNECTION_TIMEOUT        ((long)(30))            /* 30
 seconds */
 #define _CURL_MINIMUM_XFER_SPEED        ((long)1024)            /* 1KB/sec
 */
 #define _CURL_MINIMUM_XFER_TIMEOUT      ((long)(60))            /* 1
 minute */
 }}}
 This means the connection will be aborted (and another mirror tried) if:

  * it takes more than 30 seconds to establish the connection to the
 server, or
  * the transfer is going at less than 1KB/sec for one minute

 Based on this, I assume that your transfers are not stalled, but are
 merely running very slowly. You could do the installs with the `-d` flag
 to see download progress, or you could look in the distfiles directory and
 see the size of the file increase.

 Not sure why the transfer speed would be higher when using Firefox.

-- 
Ticket URL: <https://trac.macports.org/ticket/41452#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list