From owner-freebsd-questions@freebsd.org Sat Sep 2 21:20:11 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A211E04D54 for ; Sat, 2 Sep 2017 21:20:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from exodus.zi0r.com (exodus.zi0r.com [71.179.14.195]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "exodus.zi0r.com", Issuer "Gandi Standard SSL CA 2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6844070D71; Sat, 2 Sep 2017 21:20:11 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from exodus.zi0r.com (localhost [127.0.0.1]) by exodus.zi0r.com (Postfix) with ESMTP id 310E7BD3B3; Sat, 2 Sep 2017 17:20:09 -0400 (EDT) X-Virus-Scanned: amavisd-new at zi0r.com Received: from exodus.zi0r.com ([127.0.0.1]) by exodus.zi0r.com (exodus.zi0r.com [127.0.0.1]) (amavisd-new, port 10026) with LMTP id JEJhixvNY0up; Sat, 2 Sep 2017 17:20:08 -0400 (EDT) Received: from exodus.zi0r.com (syn.zi0r.com [IPv6:2001:470:8:d58:aba:ca:daba:10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by exodus.zi0r.com (Postfix) with ESMTPSA id 8508DBD3B2; Sat, 2 Sep 2017 17:20:08 -0400 (EDT) Date: Sat, 2 Sep 2017 17:20:06 -0400 From: Ryan Steinmetz To: freebsd-questions@freebsd.org Cc: raf@rafal.net Subject: re: pkg.freebsd.org mirror having issues? Message-ID: <20170902212006.GA70826@exodus.zi0r.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline User-Agent: Mutt/1.8.3 (2017-05-23) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Sep 2017 21:20:11 -0000 > As a new FreeBSD user I wonder if it is a frequent problem. I am > suddenly experiencing very slow access to the local mirrors of > pkg.freebsd.org. Even a small file takes almost a minute. Updating > FreeBSD repository catalogue (when using pkg) takes about 5-6 minutes. I > have tried using several different machines from different IPs, all > within AWS eu-west (Ireland). It was working well all week. > > The local mirror seems to resolve to dualstack.nonssl.global.fastly.net > (151.101.60.204) at the moment. Pingtime is not bad, 9ms, but their > server takes almost a minute before it starts serving files. Once the > file starts, it comes fast. I assume it is some sort of a server issue > at their end at Fastly, perhaps they have a dead machine in the pool > which makes it intermittent. > > As I am building an automated server init, this means that instead of > having a server provisioned in <5 min, it can take 20-35 mins, by which > time it is not even considered to exist by the load balancer. > > Is this common? Should I start (somehow) specifying individual mirrors > directly? Thank you very much for your wisdom. Rafal, This is not common and was caused by a configuration issue during some testing that I've been doing to (ironically) try to improve response time. Would you be able to try this once more? I've made an edit which should drastically change the experience for you. Thanks! -r > -- > Rafal Lukawiecki > Data Scientist > Project Botticelli Ltd -- Ryan Steinmetz PGP: 9079 51A3 34EF 0CD4 F228 EDC6 1EF8 BA6B D028 46D7