unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: 63417@debbugs.gnu.org
Subject: [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0.
Date: Wed, 10 May 2023 13:45:25 +0100	[thread overview]
Message-ID: <77bc127265325bc2c593abee09d08b79dc578566.1683722725.git.mail@cbaines.net> (raw)

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(+)

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))))

base-commit: 98c393164167e9a5a205f7dffa966992a71925ae
prerequisite-patch-id: 1a081b728996250cec703888ab2b5aad184e616d
-- 
2.39.1





             reply	other threads:[~2023-05-10 12:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 12:45 Christopher Baines [this message]
2023-09-01 14:21 ` [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0 Maxim Cournoyer
2023-09-05 11:20 ` bug#63417: " Christopher Baines

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77bc127265325bc2c593abee09d08b79dc578566.1683722725.git.mail@cbaines.net \
    --to=mail@cbaines.net \
    --cc=63417@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).