etc: Add ‘OOMPolicy=continue’ to guix-daemon.service.

* etc/guix-daemon.service.in (OOMPolicy): Continue.
This commit is contained in:
Tobias Geerinckx-Rice 2022-10-23 02:00:11 +02:00
parent 086b63b0a9
commit f16d91295a
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -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 <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>.
# Some package builds (for example, go@1.8.1) may require even more than
# 1024 tasks.