Diagnostic step 1
Restore tcp-keepalive to a higher default (e.g., 300s) and test under load to confirm client churn reduces.
Generated Oct 28, 2026, 9:44:48 AM
Restore tcp-keepalive to a higher default (e.g., 300s) and test under load to confirm client churn reduces.
Tune vm.max_map_count and net.ipv4.tcp_tw_reuse / tcp_fin_timeout to mitigate TIME_WAIT pressure cautiously, and monitor ephemeral port usage.
Increase repl-backlog-size and replication timeout on replicas to reduce full resyncs during transient spikes.
Stagger or throttle client connection bursts at the app layer or use connection pooling/proxy to reduce churn.
Adjust AOF policy: increase auto-aof-rewrite-percentage/size thresholds, or schedule rewrites during low load windows.