From patchwork Wed May 10 12:45:25 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher Baines X-Patchwork-Id: 49910 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 036A127BBEE; Wed, 10 May 2023 13:46:09 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 7280627BBEC for ; Wed, 10 May 2023 13:46:08 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwjCo-0007iM-2a; Wed, 10 May 2023 08:46:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwjCl-0007hi-9T for guix-patches@gnu.org; Wed, 10 May 2023 08:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pwjCl-00050d-0k for guix-patches@gnu.org; Wed, 10 May 2023 08:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pwjCk-0004B1-F7 for guix-patches@gnu.org; Wed, 10 May 2023 08:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 10 May 2023 12:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63417 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63417@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168372274116013 (code B ref -1); Wed, 10 May 2023 12:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 May 2023 12:45:41 +0000 Received: from localhost ([127.0.0.1]:45498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwjCO-0004AD-T7 for submit@debbugs.gnu.org; Wed, 10 May 2023 08:45:41 -0400 Received: from lists.gnu.org ([209.51.188.17]:39590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pwjCK-0004A3-Fn for submit@debbugs.gnu.org; Wed, 10 May 2023 08:45:38 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pwjCI-0007BX-RI for guix-patches@gnu.org; Wed, 10 May 2023 08:45:35 -0400 Received: from mira.cbaines.net ([212.71.252.8]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pwjCC-0004ku-3e for guix-patches@gnu.org; Wed, 10 May 2023 08:45:30 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id A988E27BBEC for ; Wed, 10 May 2023 13:45:25 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 71a15b22 for ; Wed, 10 May 2023 12:45:25 +0000 (UTC) From: Christopher Baines Date: Wed, 10 May 2023 13:45:25 +0100 Message-Id: <77bc127265325bc2c593abee09d08b79dc578566.1683722725.git.mail@cbaines.net> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches This seems to work around the crashes/restarts that have recently been affecting the coordinator (see #63368). * gnu/services/guix.scm (guix-build-coordinator-shepherd-services): Set GC_RETRY_SIGNALS=0. --- gnu/services/guix.scm | 5 +++++ 1 file changed, 5 insertions(+) base-commit: 98c393164167e9a5a205f7dffa966992a71925ae prerequisite-patch-id: 1a081b728996250cec703888ab2b5aad184e616d diff --git a/gnu/services/guix.scm b/gnu/services/guix.scm index 90310ab9d9..f8fee38b7a 100644 --- a/gnu/services/guix.scm +++ b/gnu/services/guix.scm @@ -372,6 +372,11 @@ (define (guix-build-coordinator-shepherd-services config) "GUIX_LOCPATH=" #$glibc-utf8-locales "/lib/locale") "LC_ALL=en_US.utf8" "PATH=/run/current-system/profile/bin" ; for hooks + ;; TODO: This seems to help with avoid + ;; crashes/restarts, but ideally the Guix service + ;; wouldn't be setting environment variables to fiddle + ;; with the behaviour of Guile's GC. + "GC_RETRY_SIGNALS=0" #$@extra-environment-variables) #:log-file "/var/log/guix-build-coordinator/coordinator.log") args))))