unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0.
@ 2023-05-10 12:45 Christopher Baines
  2023-09-01 14:21 ` Maxim Cournoyer
  2023-09-05 11:20 ` bug#63417: " Christopher Baines
  0 siblings, 2 replies; 3+ messages in thread
From: Christopher Baines @ 2023-05-10 12:45 UTC (permalink / raw)
  To: 63417

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0.
  2023-05-10 12:45 [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0 Christopher Baines
@ 2023-09-01 14:21 ` Maxim Cournoyer
  2023-09-05 11:20 ` bug#63417: " Christopher Baines
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2023-09-01 14:21 UTC (permalink / raw)
  To: Christopher Baines; +Cc: 63417

Hi Christopher,

Christopher Baines <mail@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




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63417: [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0.
  2023-05-10 12:45 [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0 Christopher Baines
  2023-09-01 14:21 ` Maxim Cournoyer
@ 2023-09-05 11:20 ` Christopher Baines
  1 sibling, 0 replies; 3+ messages in thread
From: Christopher Baines @ 2023-09-05 11:20 UTC (permalink / raw)
  To: 63417-close





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-05 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-10 12:45 [bug#63417] [PATCH] services: guix-build-coordinator: Set GC_RETRY_SIGNALS=0 Christopher Baines
2023-09-01 14:21 ` Maxim Cournoyer
2023-09-05 11:20 ` bug#63417: " Christopher Baines

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