From 44f33da454892958689ae0c2c7d2ae697eb5285b Mon Sep 17 00:00:00 2001 From: Gmer4Lfe Date: Sun, 31 May 2026 14:55:25 -0400 Subject: [PATCH] fix: set vm.overcommit_memory=1 at array start for Redis MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Redis warns and can fail background saves without this. Applied via inotify_tuning.sh which already handles kernel parameter tuning at array start. Resets on each reboot — reapplied automatically. Co-Authored-By: Claude Sonnet 4.6 --- unRAID_Essentials/inotify_tuning.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/unRAID_Essentials/inotify_tuning.sh b/unRAID_Essentials/inotify_tuning.sh index 5162881..4911e92 100755 --- a/unRAID_Essentials/inotify_tuning.sh +++ b/unRAID_Essentials/inotify_tuning.sh @@ -205,6 +205,7 @@ apply_sysctl() { apply_sysctl "fs.inotify.max_user_instances" "$INOTIFY_MAX_INSTANCES" apply_sysctl "fs.inotify.max_user_watches" "$INOTIFY_MAX_WATCHES" apply_sysctl "fs.inotify.max_queued_events" "$INOTIFY_MAX_QUEUED_EVENTS" +apply_sysctl "vm.overcommit_memory" "1" # Redis: prevents background save failures under low memory # ============================================================================================== # ━━━ Summary ━━━