[MacPorts] #60590: Macports mirrors are down?

MacPorts noreply at macports.org
Thu Jun 4 21:20:45 UTC 2020


#60590: Macports mirrors are down?
-----------------------------+---------------------
  Reporter:  herbygillot     |      Owner:  admin@…
      Type:  defect          |     Status:  new
  Priority:  High            |  Milestone:
 Component:  server/hosting  |    Version:  2.6.2
Resolution:                  |   Keywords:
      Port:                  |
-----------------------------+---------------------

Comment (by ryandesign):

 Replying to [comment:14 danielluke]:
 > Yeah, I was suggesting that we have FAU and maybe one other mirror rsync
 from the private server.

 We could do that.  It would help make distfiles and packages available in
 the event that FAU is down, since MacPorts tries multiple servers when it
 cannot find distfiles or packages. It would not help much for the ports
 tree, since users must manually configure MacPorts for which rsync server
 they want to use. Users would have to know which of our other mirrors is
 the "second master" that you're proposing.

 Our private server's upstream bandwidth was a lot more limited when we
 first made our arrangement with FAU in late 2016. Having multiple servers
 connect to the private server regularly might not have worked back then
 but might work now. And as I said I already changed it so that all mirrors
 are connecting to the private server now, so we'll see how that goes.

 > We could reconfigure the CDN to use the 'other' mirror as origin
 (manually, I guess if they don't offer a way to failover). One way to
 handle that would be to repoint DNS as you suggest.

 We only have the arrangement with FAU that allows us to use them as our
 CDN origin. We would have to contact the other mirror administrators and
 ask them if such an arrangement would be possible with them as well.

 > I guess if we're going to have to manually reconfigure, we could
 configure a second site to only rsync from the private server if FAU is
 down.

 So you're suggesting that this one "second master" should modify their
 mirroring script so that it checks if FAU is up, if it is then mirror from
 FAU, and if not then mirror from the private server? What criteria would
 they use to determine when FAU is up? Right now their rsync server is
 responding, but according to their web site their server is unreliable due
 to the RAID controller failure so it may respond sometimes and other times
 not.

 > Do you know what the current disk space + bandwidth requirements are?

 Disk space hovers around 1TB. Currently a little less because I recently
 ran the [ticket:56181 cleanup script]. Sometimes more if I haven't run the
 cleanup script for awhile. I don't know how much bandwidth they should
 expect to be used.

 > Do we need to recruit one or more sites that could act as CDN origins?

 Such a need has not arisen until now. We could certainly ask around.

-- 
Ticket URL: <https://trac.macports.org/ticket/60590#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list