From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id EOcmHi42wWC6NwEAgWs5BA (envelope-from ) for ; Wed, 09 Jun 2021 23:44:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cFRFGS42wWA1cwAAbx9fmQ (envelope-from ) for ; Wed, 09 Jun 2021 21:44:14 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E042316D49 for ; Wed, 9 Jun 2021 23:44:13 +0200 (CEST) Received: from localhost ([::1]:51948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lr5zg-00079q-U3 for larch@yhetil.org; Wed, 09 Jun 2021 17:44:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lr5zX-00077R-IF for bug-guix@gnu.org; Wed, 09 Jun 2021 17:44:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:51493) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lr5zX-0007pF-AZ for bug-guix@gnu.org; Wed, 09 Jun 2021 17:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lr5zX-0003aA-9X for bug-guix@gnu.org; Wed, 09 Jun 2021 17:44:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#30290: guix-daemon slows to a crawl when a substitute server is offline Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 09 Jun 2021 21:44:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30290 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 30290-submit@debbugs.gnu.org id=B30290.162327503413718 (code B ref 30290); Wed, 09 Jun 2021 21:44:03 +0000 Received: (at 30290) by debbugs.gnu.org; 9 Jun 2021 21:43:54 +0000 Received: from localhost ([127.0.0.1]:34800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr5zN-0003Z6-Gk for submit@debbugs.gnu.org; Wed, 09 Jun 2021 17:43:53 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:45898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lr5zJ-0003Yk-KD for 30290@debbugs.gnu.org; Wed, 09 Jun 2021 17:43:51 -0400 Received: by mail-wm1-f54.google.com with SMTP id v206-20020a1cded70000b02901a586d3fa23so5122124wmg.4 for <30290@debbugs.gnu.org>; Wed, 09 Jun 2021 14:43:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=UxHsHEt+SAL86OWzSp4gM+5EWgdjjEC/fsuWSFKmHz8=; b=LGrWRKNsKIvXs4rIz6W1GFjnN9iR0IP7/8++czCRCnFdbVFZMJf3myMf/iY2XolZue gd7HuQ2p6c6ku7F2CO9eQF+xUo9zW3dKHInvRwKrp7L1f0uCv+j7G+v/BbYj8SK9uZZL I/9wxJ5C4v1reKuxh4IR7u+kIB/4Em/J7w+pkMREQiy/O70LRyRuIa6PR4QiDnKTyGJm iDH3LUfAd6Rgvaw5lrPpnZNlXJofSxW8yl8+QmCsiVODbJjmn4Ht8ngyWR2pvvuD9FFS yaxE4AyM4qe95OkmfHXGRVnt+q9RSQh2RrDBBi7Eq8MfNi2T6m4emkkVTmxsXw/RKOeN fltA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=UxHsHEt+SAL86OWzSp4gM+5EWgdjjEC/fsuWSFKmHz8=; b=JnPzFNC3L7Rw/I9ZVvfbAKcI2Jg1meEsgjsq200H/u6gcUPYO939kt6AoFlZ9k33/i zb51mXWfBKo6jhOrS1rju2FudbxzxubH25ODPi1kL+pxv/yZk0wqtiSyOzwT24KsAZaH N2EWkm+93D+DCTY81K5Qr85I2foYgAcrgrphhyBj7sv45K7Wuz69Ec8trtBH2h2k1sLI T9ZLWySvldO2U1i3EBCvS4JBrp219PXJIBJRJ464xxLO2es73Oc0HhlfLBQEsedFsxLh n5FZ1pfhUDcFwLwjsRSDCCi8j5fY1RbgKmnEQvKndYc6rstZRbdnTSMWJTUeFygTdWBE ULHQ== X-Gm-Message-State: AOAM530jM9nSEhkDLyUogAoBbmQundw+wEtvWqRsfj3TImfQAVGTD9UT e8zP5T1bQuRKIY/HYdyHcuqX3Be0RSo= X-Google-Smtp-Source: ABdhPJxQou9nZXU0vy5mfszeDc9VvMbOXZCiS79d4BF72z2+SBUdjIdAcc0SfhzdaiD4OKwmK6+6YQ== X-Received: by 2002:a1c:98d0:: with SMTP id a199mr11914498wme.22.1623275023800; Wed, 09 Jun 2021 14:43:43 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j7sm1136495wrm.93.2021.06.09.14.43.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 14:43:43 -0700 (PDT) From: zimoun References: <87fu6o2ge2.fsf@gmail.com> <868s6cb4ji.fsf@gmail.com> Date: Wed, 09 Jun 2021 23:34:41 +0200 In-Reply-To: <868s6cb4ji.fsf@gmail.com> (zimoun's message of "Wed, 24 Mar 2021 22:55:13 +0100") Message-ID: <86y2bilo26.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mathieu Othacehe , 30290@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623275054; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=UxHsHEt+SAL86OWzSp4gM+5EWgdjjEC/fsuWSFKmHz8=; b=A9Lo7X+/BqrPk35y8Dv2xkSNEXpCiyrGlXz9K2fUp0rhOOCPi7z7J9aa6+rYgQnvUxJQUV C9ujkdZiCrkAYrC6cACiJwaizQ7ScleGMm/VxeKEQrZrjrAWphoxoFNVwM/gGsIkj0k7e/ fI295365xCOXKcGxxg2zNtlLEjhnRIPxoQmLoDYid6GUMxWdBEMkFrdhjLDxgb9uZLgOSY BNrSMW+KGokX5UqmZdMZm+mwv1/ifLUuVZw3f0ekjtlL54zu1adStXLNiAZtSL5CV2Nd7J sqzot5cJ0r8ERzqNkuOuu3Jc/swO46zDdrmIFOqcgKHr8njcdvPL+8/zo220Qw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623275054; a=rsa-sha256; cv=none; b=L/HxuIEXEwEwKG4l3CH4tk5zl5DPfuPswP8JbTUgb6YcxYPb87pIuwZ0k4/SUBWlH2GLRZ jTOpDFhuBqiKLIVN+tKg/r8ulLMFAVxPFOSPZG1k7OTDrtSaMIS5arKZEC75egVu8ZOUot PisRknaQHirn6jEUCpG8x6PjXYPU2yOoP+smfh+w+RcR9JGOy8qOlGcSaUlzqd122PUjw4 M9ZqkcuKXZkefqv5fDt5IMhWdpdU7mcNV9TNzjhI+iYTIpjKfYF5MUyvQ9m8j2M0/V+f+V SNjkjMRj1NfB/GxHyFODqXWWOVUnzxcrlDytDBpsl6ZVhuVSaI53RfJ14gB7FA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=LGrWRKNs; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=LGrWRKNs; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: E042316D49 X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: bN1v4Y3tNEAv Hi, On Wed, 24 Mar 2021 at 22:55, zimoun wrote: > On Mon, 29 Jan 2018 at 22:07, Maxim Cournoyer = wrote: >> 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: >> >> connect(14, {sa_family=3DAF_INET, sin_port=3Dhtons(443), >> sin_addr=3Dinet_addr("141.255.128.56")}, 16) =3D -1 EINPROGRESS >> >> 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. [...] > From: Maxim Cournoyer > Date: Fri, 18 Dec 2020 22:04:04 -0500 (24 weeks, 4 days, 18 hours ago) > > I'm not sure if the recent offloading work that Mathieu did touched that > topic. I'd need to test the scenario. Perhaps a system test would be > useful. > ---------- > > From: Ludovic Court=C3=A8s > Date: Tue, 22 Dec 2020 16:16:08 +0100 > Date: Tue, 22 Dec 2020 16:16:08 +0100 (24 weeks, 1 day, 6 hours ago) > > Is it still a problem? Commit 4f5234be0378368e6af25925db46612838d25e58 > (Nov. 2019) added a table of unreachable hosts. That way, a =E2=80=98guix > substitute --query=E2=80=99 process won=E2=80=99t retry connections to an= unreachable > host. > ---------- > > From: Efraim Flashner > Date: Mon, 28 Dec 2020 14:19:02 +0200 > Date: Mon, 28 Dec 2020 14:19:02 +0200 (23 weeks, 2 days, 9 hours ago) > > Occasionally my internet drops itself, and I find I'm left forever > waiting for a timeout to see what sources I have cached locally. > ---------- What is the current stats of this bug? Is it still happening with the recent improvements of Cuirass? Cheers, simon