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 eHOkFeZcLWH8EAEAgWs5BA (envelope-from ) for ; Tue, 31 Aug 2021 00:34: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 eCA4EeZcLWEuDAAAbx9fmQ (envelope-from ) for ; Mon, 30 Aug 2021 22:34: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 0C6056184 for ; Tue, 31 Aug 2021 00:34:14 +0200 (CEST) Received: from localhost ([::1]:54172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKpr3-0007ho-4e for larch@yhetil.org; Mon, 30 Aug 2021 18:34:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37940) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKpqs-0007hK-Ij for guix-patches@gnu.org; Mon, 30 Aug 2021 18:34:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49029) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKpqs-0003cI-A8 for guix-patches@gnu.org; Mon, 30 Aug 2021 18:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKpqs-0003xg-2n for guix-patches@gnu.org; Mon, 30 Aug 2021 18:34: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: Mon, 30 Aug 2021 22:34: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.163036281015178 (code B ref 50040); Mon, 30 Aug 2021 22:34:02 +0000 Received: (at 50040) by debbugs.gnu.org; 30 Aug 2021 22:33:30 +0000 Received: from localhost ([127.0.0.1]:60575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKpqM-0003wi-3T for submit@debbugs.gnu.org; Mon, 30 Aug 2021 18:33:30 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKpqK-0003wQ-1M for 50040@debbugs.gnu.org; Mon, 30 Aug 2021 18:33:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36660) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKpqE-0003EO-RE for 50040@debbugs.gnu.org; Mon, 30 Aug 2021 18:33:22 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48792 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKpqE-0003Bg-GV; Mon, 30 Aug 2021 18:33:22 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210813102800.805-1-othacehe@gnu.org> <87sfz2j5ls.fsf@gnu.org> Date: Tue, 31 Aug 2021 00:33:21 +0200 In-Reply-To: <87sfz2j5ls.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 22 Aug 2021 09:33:51 +0200") Message-ID: <87r1eaa7gu.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=1630362854; 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=a5r2p09WfOll3LzoEv8Cy5qPQ04j+BsLGj4FO0PkvP4=; b=H6CM3ArdmAREAYouEwms2MgtYYOYXJKKvmuRGsrfqMpfBg4lVBPBA7ijlUslByzxLrZ6jo XIQJhS662lEbWec4nI/2/wSG+PTP7yjjPR3FPn2m+3HFI4aIEiD2Gnv9YdvCTXhW0Clixv xf8miU2z8ad8qogPoBAnRA/eFjGB9DwmLquiXK/hSBWPUnF6OUNp6aJpJbStUypfmwk0d6 dL+KTINH1FAwzR+rMSRs8NBOOGOGLTdBRR9MvTAV75vqKBgH211lwMAwji8f8kM6VWSdWl m4wLeBCpM0frr53S+DYnqEht3snoq588BxwsjfowuhpUDwmNhUxD6+CvNmFf1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630362854; a=rsa-sha256; cv=none; b=qwrb1sm09dAj+2kjYdRwqydWHCGrvbw8mXwkNwmKcoWd/F8SdL1w8wizPibpDEPjBJSQkU 1Mm0WAM/qbzSgBGPjeRl9e5Bfcj54lef61I2zAca2dWgYoJk3DWIhP0YflmG5t1JybG5JM i3H1+jf6ChIN9rWRRdgF3nZZVyVF8R90ZZFFWBA5qu0+a0oSD4549y9DQ99CqGsThuNBfk agAcf34K6+629ZR4N2IxnrXO27rUL4uXqH3XARgPtK8WjrFXQmyeMTzBKBWx0NE97Oaaxp 9NHNIaEoYCc4/dT08pEhf6A+4hXLH/MXL2Ts6z+Uhiumku/OVHYeiaj6WzLKMg== ARC-Authentication-Results: i=1; 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-Spam-Score: -2.92 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: 0C6056184 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: mc6uOhm3LwPr Hi! Mathieu Othacehe skribis: > I think this is caused by the following lines in the Berlin Nginx > configuration: > > ;; Do not tolerate slowness of hydra.gnu.org when fetching > ;; narinfos: better return 504 quickly than wait forever. > "proxy_connect_timeout 2s;" > "proxy_read_timeout 2s;" > "proxy_send_timeout 2s;" > > The narinfos that are not in cache yet are computed in the main thread, > slowing down the publish process. Under pressure, computing those > narinfo can exceed the 2s timeout resulting in the failures above. > > Our best course of action here could be to merge the proposed patches, > extend the Nginx timeout to 10s and see if all the requests can be > handled quickly enough. Yeah, increasing these timeouts a little bit (to 5=E2=80=937s? making it too long could lead to annoyances) sounds reasonable. Ludo=E2=80=99.