[Top][All Lists]

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

Re: Guix substitute timeout

From: Ludovic Courtès
Subject: Re: Guix substitute timeout
Date: Mon, 02 Sep 2019 14:11:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Chris!

Christopher Baines <address@hidden> skribis:

> I'm unsure how well the substituter copes with unreliable network
> connections, anecdotally it seems to often hang indefinitely.

How often?

I experienced it at some point last year but the problem vanished soon
after I reported it here: <>.

If you can reproduce it, could you try to get a C backtrace of ‘guix
substitute’, as well as the output of ‘guix’ to see if it’s fetching
gzip or lzip stuff, and the process sub-tree?

> Looking at the code [1], there is some code that looks like it would
> cancel the substitution after some amount of time, but it also looks to
> be disabled (as #:timeout? is #f when fetch is called).

That comes from commit 2207f73156e144a9349e4d395d5049119b67a896 from
2013 (!), when was so slow and (I think) we’d rather not
time out too quickly while fetching a substitute or we’d never fetch
anything.  Good times…

We could probably enable it, though it should be a not-too-short



reply via email to

[Prev in Thread] Current Thread [Next in Thread]