From 426cc58ca7c76abd7aa6a52071e46334d56fe0dd Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 12 Feb 2019 21:35:46 +0100 Subject: systemd/jack@.service: Adding LimitMEMLOCK and adding (a commented) disabling of OOMScoreAdjust (which would disable OOM killer). --- systemd/jack@.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/systemd/jack@.service b/systemd/jack@.service index 6842585c..bc4e8618 100644 --- a/systemd/jack@.service +++ b/systemd/jack@.service @@ -10,6 +10,9 @@ EnvironmentFile=-%h/.config/jack/%i.conf ExecStart=/usr/bin/jackd $JACK_OPTIONS -d $DRIVER -d $DEVICE $DRIVER_SETTINGS LimitRTPRIO=95 LimitRTTIME=infinity +LimitMEMLOCK=infinity +# Caution: use on memory-limited devices only +# OOMScoreAdjust=-1000 [Install] WantedBy=default.target -- cgit v1.2.1