GNU bug report logs - #63417
[PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Wed, 10 May 2023 12:46:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 63417 <at> debbugs.gnu.org
Subject: [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0.
Date: Fri, 01 Sep 2023 10:21:56 -0400
Hi Christopher,

Christopher Baines <mail <at> cbaines.net> writes:

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

Have you tried presenting the problem to more core Guile folks?
(guile-devel).  Perhaps someone could tip you in the right direction, or
perhaps it's a bug in Guile?

-- 
Thanks,
Maxim




This bug report was last modified 1 year and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.