From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eIhoFKiLQ2Pw1QAAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 05:04:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oFlMFKiLQ2NyVAEAauVa8A (envelope-from ) for ; Mon, 10 Oct 2022 05:04:08 +0200 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 178373284 for ; Mon, 10 Oct 2022 05:04:08 +0200 (CEST) Received: from localhost ([::1]:43162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohj5K-0002Ek-Ny for larch@yhetil.org; Sun, 09 Oct 2022 23:04:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohj5G-0002EP-OJ for bug-guix@gnu.org; Sun, 09 Oct 2022 23:04:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46114) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohj5G-0003GG-Eu for bug-guix@gnu.org; Sun, 09 Oct 2022 23:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ohj5G-0006UD-1A for bug-guix@gnu.org; Sun, 09 Oct 2022 23:04:02 -0400 Subject: bug#30290: guix-daemon slows to a crawl when a substitute server is offline Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Mon, 10 Oct 2022 03:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 30290 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: Mathieu Othacehe , ludo@gnu.org, 30290-done@debbugs.gnu.org Mail-Followup-To: 30290@debbugs.gnu.org, maxim.cournoyer@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 30290-done@debbugs.gnu.org id=D30290.166537100624888 (code D ref 30290); Mon, 10 Oct 2022 03:04:01 +0000 Received: (at 30290-done) by debbugs.gnu.org; 10 Oct 2022 03:03:26 +0000 Received: from localhost ([127.0.0.1]:45190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohj4g-0006TM-Ge for submit@debbugs.gnu.org; Sun, 09 Oct 2022 23:03:26 -0400 Received: from mail-qk1-f175.google.com ([209.85.222.175]:43915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ohj4f-0006T9-62 for 30290-done@debbugs.gnu.org; Sun, 09 Oct 2022 23:03:25 -0400 Received: by mail-qk1-f175.google.com with SMTP id i12so201900qkm.10 for <30290-done@debbugs.gnu.org>; Sun, 09 Oct 2022 20:03:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=c5FNuC6vsfkDhYlQCB4qfgQsL+/pbxhJMYQIUlADZwI=; b=h3DJ3mFyGPzXCOjxH9sDsQdXLCHGgk/H24nseB4v2zbunl1Tf3OO83D2OCyh9J4CwE gv6vGZ5cVyLzITZvKWzUj8CZA+0HtbEEs5HhbhnFm8Zpa/678hKDnVjIcDEy+sNVjmcj hhEaItz8xA5zEIFN+i0MBjJRcHNp7YQA8DCCx8NZBFAVtNQ07Qkw+780dc4cTo0rZgze faSMjEI4rM6Zky+IR+QV58hiZUyjK1SyhgHTYMR/xQ+r+AFBpoyPeFajICH9NvtYdpOf uJz6kmUqwwiwjgDz6XQqLmzXhdGWKCeNROmjHtFyFDFK3rmnbryjfB4RuzeMD4hFSyZ+ zs7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=c5FNuC6vsfkDhYlQCB4qfgQsL+/pbxhJMYQIUlADZwI=; b=zCwikNQ5itA2yAMfm9kZBnT5ka0YX1yvvOmpr3hSqRO5knnuEwcNXzrbXKS4N28Jn/ M8FEci/T4kH2r2BzeGGK9KuyIRjo7anKSlm5kWO2ezKyhdSAA2pkP1eU+QmUbNmVGNIg p7bWt8Jn7F0w6YrBK6fo+fOXIBJ7e3aLNA9S4iKT5N8oedcs/Ln9G+rhgoZmI+qZgzeD TwuZ8qtsQFcnkX6v7LS+B6/auReJe0Wgb0eZ7aUHEGeNaf/PEepat0MVd3Dfc74wwLm8 41xisNXwydMcvZlrOU1IxTltk3zgxAEdzWGpWB/UhjcDBZ+TvyDsDz4RA+X5muBdAyxq qUFw== X-Gm-Message-State: ACrzQf2H7epX1ZMZnTdlgej6px7offYeDK3QrcsEEc7hES4YRthl1bp/ FZhPqOCs1R0JSy7BRx0eIWrr3WJXAws= X-Google-Smtp-Source: AMsMyM6wXjjBV2BIeo1J5VwrAyPkOyTN5mqptjYWsA+yOz6DQZXP+d+r97XZb7AGjM8tWB1p/KjBOQ== X-Received: by 2002:a37:82c1:0:b0:6cf:8445:6710 with SMTP id e184-20020a3782c1000000b006cf84456710mr11334419qkd.717.1665370999426; Sun, 09 Oct 2022 20:03:19 -0700 (PDT) Received: from hurd (dsl-150-38.b2b2c.ca. [66.158.150.38]) by smtp.gmail.com with ESMTPSA id o8-20020ac841c8000000b00398313f286dsm4415595qtm.40.2022.10.09.20.03.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Oct 2022 20:03:18 -0700 (PDT) From: Maxim Cournoyer References: <87fu6o2ge2.fsf@gmail.com> <868s6cb4ji.fsf@gmail.com> <86y2bilo26.fsf@gmail.com> <86wnpuoaxc.fsf@gmail.com> <87r1eqx569.fsf@gmail.com> <87mtpew655.fsf@gmail.com> <87fsv6w4qf.fsf@gmail.com> <86fsn90wog.fsf@gmail.com> <86h70es6qb.fsf@gmail.com> Date: Sun, 09 Oct 2022 23:03:16 -0400 In-Reply-To: <86h70es6qb.fsf@gmail.com> (zimoun's message of "Sat, 08 Oct 2022 16:57:48 +0200") Message-ID: <87zge42xe3.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665371048; 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:resent-to: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=c5FNuC6vsfkDhYlQCB4qfgQsL+/pbxhJMYQIUlADZwI=; b=QNchAZGb0QhrVdTg9WfxmXweX8/QW/ugg5GfRG4LRWFwCqFc/6r5BM/oXZGfMqq4cPgYWy ptn78x32zL3j92yBHfpzfpp9OFGCNFOIsOiVA+q8ZE9ldAbS/k5M3P2K3IUMgqEepq3uUk qAaeztlAeQp+s/Zx098RJoj5ztLLeXdqxnxo2rThW736ee35/y/AgqtQ9k+YBr44WTVQi1 gmieqwcSe8f+sV8eBoAUo4mAD8t1uXrlwLaZw1Zvimpaf/piFK7/1tAKQwZkUvheyg6iwZ ssyyP/Hw5z/tQnbCJc7m+92m36UFApbUitLp/+x0oAM2pcvIrlYJfIuAmGIhaQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665371048; a=rsa-sha256; cv=none; b=RwUqCUlW7ezrbHaXNvrP2YIWtaTdJp5WPZrKgALe4hlQ0tev5zunPdizq/PczFTDrepYpy eKAHNRfFgoi2Yp0ZFPJpIvuigLdIwtM9p0lnBk7Y/F5HkTIVj63ntwe2ZpeDCeZ9f2YwSj uAc+7JN1Cyb+XWClyeMwnU0axIL+p612o2DtI+YCVuQl/Mk7BmiEJADTXpsaPkQNa7gjBg Wrr6ge6jwZE9yLPYnDTQX/DMYk5MHPqHmVWSBpIdmZvEX9K5oUlMnew0x8dSJCA3kPbLrZ h+TBorxlx5PdjaZBovXj63mqI3ZwmlykKk5vpJJj5ReqlXGbEBU8PKnjIAdOew== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=h3DJ3mFy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 8.52 X-Spam: Yes Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=h3DJ3mFy; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 178373284 X-Spam-Score: 8.52 X-Migadu-Spam: Yes X-Migadu-Scanner: scn0.migadu.com X-TUID: HK4CQnBJT8IB Hi Simon, zimoun writes: > Hi Maxim, > > On Wed, 23 Mar 2022 at 11:50, zimoun wrote: >> On Wed, 18 Aug 2021 at 22:25, Maxim Cournoyer wrote: > >>> Extra note: the problems reported earlier (hang or backtrace instead of >>> graceful fallback to other substitute servers) also affect the scenario >>> where substitutes are fetched from uDNS discovered substitute servers (I >>> just tried). >> >> I guess this old bug [1] about the daemon hanging is still there, right? >> >> How such issue could be tackled? >> >> 1: > > What could be actionable for tackling this old bug? I can't seem to reproduce the original issue, which was that an offline server would slow down fetching of substitutes by repeatedly trying to reach it, at least when setting e.g.: --8<---------------cut here---------------start------------->8--- 127.0.0.2 ci.guix.gnu.org --8<---------------cut here---------------end--------------->8--- In my /etc/hosts file to simulate it's unreachable, with at least another substitute server available in my --substitute-urls list. It goes right to that second server without loosing any time. Closing for now, we can always reopen the issue if it manifests itself in the future. -- Thanks, Maxim