From f16d91295a743d43b1604103b1399a621badea8c Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 23 Oct 2022 02:00:11 +0200 Subject: etc: Add ‘OOMPolicy=continue’ to guix-daemon.service. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * etc/guix-daemon.service.in (OOMPolicy): Continue. --- etc/guix-daemon.service.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'etc/guix-daemon.service.in') diff --git a/etc/guix-daemon.service.in b/etc/guix-daemon.service.in index 17b54eaeb0..d753e6d05f 100644 --- a/etc/guix-daemon.service.in +++ b/etc/guix-daemon.service.in @@ -13,6 +13,10 @@ RemainAfterExit=yes StandardOutput=syslog StandardError=syslog +# Work around a nasty systemd ‘feature’ that kills the entire process tree +# (including the daemon!) if any child, such as cc1plus, runs out of memory. +OOMPolicy=continue + # See . # Some package builds (for example, go@1.8.1) may require even more than # 1024 tasks. -- cgit v1.2.3