fix: set vm.overcommit_memory=1 at array start for Redis
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
070f9caf7f
commit
44f33da454
@@ -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 ━━━
|
||||
|
||||
Reference in New Issue
Block a user