From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id SFpAMUrnL2HzYAEAgWs5BA (envelope-from ) for ; Wed, 01 Sep 2021 22:49:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id KOCOLErnL2HILAAAbx9fmQ (envelope-from ) for ; Wed, 01 Sep 2021 20:49: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 D5C1916446 for ; Wed, 1 Sep 2021 22:49:13 +0200 (CEST) Received: from localhost ([::1]:44982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLXAX-0005Zu-2o for larch@yhetil.org; Wed, 01 Sep 2021 16:49:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLXAM-0005SR-L5 for guix-patches@gnu.org; Wed, 01 Sep 2021 16:49:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55780) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLXAM-0005zg-D9 for guix-patches@gnu.org; Wed, 01 Sep 2021 16:49:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLXAM-0002UR-Av for guix-patches@gnu.org; Wed, 01 Sep 2021 16:49:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50040] [PATCH 0/2] publish: Always render nar/narinfo during backing. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 20:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50040 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 50040@debbugs.gnu.org Received: via spool by 50040-submit@debbugs.gnu.org id=B50040.16305293349558 (code B ref 50040); Wed, 01 Sep 2021 20:49:02 +0000 Received: (at 50040) by debbugs.gnu.org; 1 Sep 2021 20:48:54 +0000 Received: from localhost ([127.0.0.1]:39093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLXAE-0002U6-3C for submit@debbugs.gnu.org; Wed, 01 Sep 2021 16:48:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLXA9-0002Ts-Jk for 50040@debbugs.gnu.org; Wed, 01 Sep 2021 16:48:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37412) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLXA4-0005oc-Bs for 50040@debbugs.gnu.org; Wed, 01 Sep 2021 16:48:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48818 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLXA4-0003BW-2b; Wed, 01 Sep 2021 16:48:44 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210813102800.805-1-othacehe@gnu.org> <20210813103030.1017-1-othacehe@gnu.org> <87sfyqa7je.fsf_-_@gnu.org> <875yvm6kxf.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Fructidor an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 01 Sep 2021 22:48:42 +0200 In-Reply-To: <875yvm6kxf.fsf@gnu.org> (Mathieu Othacehe's message of "Tue, 31 Aug 2021 11:08:28 +0200") Message-ID: <87k0k06mz9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630529353; 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; bh=Gh360ZI4oI5pwI9NK4CG0GqKAD8XOe2sXDvxP8hVIGo=; b=PLQtyZsEb24pezU9/y1qljG0C3Q29SIke/Az+7paG3+U56TgHlfELv4FGwOs769OJvQKAB JKY1/mPOWfup7GQI60GnwmwMaHmt1jLeh7ivHtFHLDvI72Mw+W2odnXjw6R1/IZ02GaQix PzTgQ0wKN4rsH+PguNxLOjWOpco//dugE1JAC5s3jfWzt7ufZ9TJECvo10C/XSt6PQ6Ycu lyoyCtcf+eYciq6ICsGxZNMiS2JQ9Ans74FrXE0oLnhu7PW1+tvFPboppv0jFiBjGisCEx qqh9Nxrm/OVaIBQOHbyEBbkBjb40EU9R4OOFS35HjAfGt3H82bp9IrLoGh7jCw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630529353; a=rsa-sha256; cv=none; b=Z2P6FdlCdDDFt2b0TAQnTaY6LmNPJ9fDPXn9lVgenY4niF+/7YZtU4aEaFfawL+ng+T5SA boCqfEMXhlpoFqYyWVV80g8dY2R9nn8Ra1WTxTtx4dL1Ihg6ql3aSvNxq+24kGLq1JvFOy in8nr1gSJIbG/JqCsl7aDySaTXtQMRRVDphUoLhPe4MLN9N2+v2fasoNEY2oWoVBqXVKxX 0WFalB4DiCIcS8GxgwJD3ebkI6tMr/mw8kKK5mn5/DIvgDmdHZ6WcQJuXT0ewFB106EI0X vewiHVqSzJ8ZU14qQsb/c1fkToxAvln2uAMBHdjb0SQ0CMc98lTryIxFJCV7IQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: D5C1916446 X-Spam-Score: -1.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: m78pqBLplw+S Hello! Mathieu Othacehe skribis: >> Did you manage to come up with a way to synthetically reproduce the >> problem? > > Yes but it is rather complex. I managed to restart a lot of builds at > the same time by running SQL queries on the Cuirass database. OK. [...] >> But look, =E2=80=98read-derivation-from-file=E2=80=99 is called jus= t to fill in the >> =E2=80=9CSystem=E2=80=9D field, which is not used anywhere (not a s= ingle caller of >> =E2=80=98narinfo-system=E2=80=99), so we could just as well remove = it and see how >> it behaves. > > Yes, I'll propose a patch to remove it. Neat. >> Anyway, that the main thread is blocking while this happens is certainly >> a problem, so this patch looks like an improvement. That we have to use >> the =E2=80=98http-write=E2=80=99 hack isn=E2=80=99t great, but I think i= t=E2=80=99s OK, unless we want >> to switch to Fibers. > > I think that applying this patchset + removing read-derivation-from-file > call + increasing Nginx timeouts could be a good start. However, I will > be mostly afk for about 3 weeks so unable to monitor the publish server > on Berlin and fix potential regressions. Maybe we should wait until > then. Yes, sounds safer. Removing the =E2=80=9CSystem=E2=80=9D bit from narinfos= produced by =E2=80=98guix publish=E2=80=99 should be fine, though. Thanks! Ludo=E2=80=99.