From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: bug#26811: guix does not resume download on FTP timeouts Date: Sun, 7 May 2017 14:58:17 -0400 Message-ID: <20170507185817.GB27949@jasmine> References: <20170507093159.170a100b@sf> <20170507182543.GB6096@jasmine> <20170507194932.213380f8@sf> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="3lcZGd9BuhuYXNfi" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7ROb-0001z3-He for bug-guix@gnu.org; Sun, 07 May 2017 14:59:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7ROY-0000GC-93 for bug-guix@gnu.org; Sun, 07 May 2017 14:59:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34268) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d7ROY-0000G8-5Y for bug-guix@gnu.org; Sun, 07 May 2017 14:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d7ROX-00059T-Q5 for bug-guix@gnu.org; Sun, 07 May 2017 14:59:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20170507194932.213380f8@sf> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Sergei Trofimovich Cc: 26811@debbugs.gnu.org --3lcZGd9BuhuYXNfi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, May 07, 2017 at 07:49:32PM +0100, Sergei Trofimovich wrote: > On Sun, 7 May 2017 14:25:43 -0400 > Leo Famulari wrote: >=20 > > On Sun, May 07, 2017 at 09:31:59AM +0100, Sergei Trofimovich wrote: > > > I have slow internet :) > > >=20 > > > It looks like ftp://tug.org has a FTP session timeout of 2 hours 11 m= inutes, or something like that. > > > Over night I tried to build sbcl and failed. Note how download silent= ly stopped at ~80% [1]. > > >=20 > > > Would be nice if guix had a mechanism to reconnect to FTP and continu= e download after timeout. =20 > >=20 > > In the meantime, you can download the files with a resumable tool like > > wget, and then use `guix download file:///path/to/file` to work around > > this missing feature. Note that both the client *and* the server must > > support resuming downloads for this to work. >=20 > The workaround worked. >=20 > I've noticed it took guix-daemon 2GB of RAM to process this file locally. > Does guix keep all the file in RAM until download finishes? I haven't looked, but that's how I'd expect it be coded. The OS can handle paging things in and out as needed, right? --3lcZGd9BuhuYXNfi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAlkPbkgACgkQJkb6MLrK fwjY2BAAuj9CyqbTveJQGTVTugc9TaOBSoBgIRV6tFzU7KYobEes5WRUSsrYWVqq Lhxl+CsKaKiTQ7Gb3rfNb5hlnAfLKcfpCeSZ0M7+oWPJdB1t/hEYIoSFKmjpse1+ wUHMBVHnnQMOxtvE7HGxIq1/56e8A4SgvxGVNiSM1oTIL6+XyW+BJqiI3qedrkwi CvAUNIoHjaqIND/b88TYIF4jstawyudk6kq3aXo3VgFoIQwQzK79K9B/MX3VWbqF My9QSgNY4G866vsFmhp4pWcJ6lanC51lYB3GqTdVmR7rZHhv9VzVDr9f78Suyv3p AtZFbrs/ihcQoFs7TidtTb3gQZmA67za3zqpRPegK75yfR5cH6U4qwwOD6roueIq nJ1H6+w1lEl0029a0Pw9h7adqh2sXdS8yYF4YR6afLG/nnbl79a5Sho8670rpsbo iyi3Ev37bSZJdEbcaBxfrkBZdemabBly0CvWeCopj5EaT9mQeyTwYRKTxMG1kuqy C/kVwGqeT15St8llyzFPimepW9N7w8mK/RpJ+mhaaXqCTuHXiCniFt/ewB36ClDb oMVoK877nR59CCYQJqoQHRUBZ/GvIPVH9ikQLm/zKLIn+GtCygp0MZISsK+AuIHq hJ5gwa6iOOPpYaNawgpcKNfULpVJmBBm8HTc9ec3Sh7NOyYHDX8= =Z9/j -----END PGP SIGNATURE----- --3lcZGd9BuhuYXNfi--