all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#30290: guix-daemon slows to a crawl when a substitute server is offline
@ 2018-01-30  3:07 Maxim Cournoyer
  2020-12-03  0:20 ` zimoun
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Maxim Cournoyer @ 2018-01-30  3:07 UTC (permalink / raw)
  To: 30290

When a substitute server used by guix-daemon is offline, the daemon will
keep attempting to connect to it, even when it shouldn't need any data
(ran 'sudo guix system reconfigure my-config.scm' multiple times in a
row.

With the disconnected server (bayfront in my case), that command would
take close to 8 minutes, with many system calls like:

--8<---------------cut here---------------start------------->8---
connect(14, {sa_family=AF_INET, sin_port=htons(443), sin_addr=inet_addr("141.255.128.56")}, 16) = -1 EINPROGRESS
--8<---------------cut here---------------end--------------->8---

which wasted 5 seconds each time.

After removing this server from my substitute servers list, the same
operation (system reconfigure) is 8 times faster (1 minute).

Suggestion: the daemon should stop trying to use the offline substitute
server after trying for X times, and print a warning about it.

Maxim

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-10-10  3:04 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-30  3:07 bug#30290: guix-daemon slows to a crawl when a substitute server is offline Maxim Cournoyer
2020-12-03  0:20 ` zimoun
2020-12-19  3:04   ` Maxim Cournoyer
2020-12-22 15:16 ` Ludovic Courtès
2020-12-28 12:19   ` Efraim Flashner
2021-03-24 21:55 ` zimoun
2021-06-09 21:34   ` zimoun
2021-07-13  8:49     ` zimoun
2021-08-18 11:19       ` zimoun
2021-08-18 13:18       ` Maxim Cournoyer
2021-08-19  1:54         ` Maxim Cournoyer
2021-08-19  2:25           ` Maxim Cournoyer
2022-03-23 10:50             ` zimoun
2022-10-08 14:57               ` zimoun
2022-10-10  3:03                 ` Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.