guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/03: gnu: shepherd@0.9: Use 'guile-3.0-latest' to address memory leak.


From: guix-commits
Subject: 03/03: gnu: shepherd@0.9: Use 'guile-3.0-latest' to address memory leak.
Date: Sun, 6 Nov 2022 06:39:15 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 072fd1124a8081753ce92ed3a2a57489d24c5e4a
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Sun Nov 6 12:34:39 2022 +0100

    gnu: shepherd@0.9: Use 'guile-3.0-latest' to address memory leak.
    
    Fixes <https://issues.guix.gnu.org/58631>.
    
    Previously, shepherd's heap would grow roughly linearly in the number of
    context switches (delimited continuations being captured).  For example,
    if shepherd spawned services that logged a lot of data, it would
    context-switch a lot, leading to relatively quick heap growth.
    
    * gnu/packages/admin.scm (shepherd-0.9)[inputs, native-inputs]: Replace
    'guile-3.0' with 'guile-3.0-latest'.
---
 gnu/packages/admin.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 5576c3da77..273dffbc18 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -368,9 +368,12 @@ interface and is based on GNU Guile.")
                                       (this-package-input "guile-fibers")
                                       "/lib/guile/3.0/site-ccache"))))))
                         #~%standard-phases)))
-    (native-inputs (list pkg-config guile-3.0
+
+    ;; Note: Use 'guile-3.0-latest' to address the continuation-related memory
+    ;; leak reported at <https://issues.guix.gnu.org/58631>.
+    (native-inputs (list pkg-config guile-3.0-latest
                          guile-fibers-1.1))       ;for cross-compilation
-    (inputs (list guile-3.0 guile-fibers-1.1))))
+    (inputs (list guile-3.0-latest guile-fibers-1.1))))
 
 (define-public guile2.2-shepherd
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]