From 6a2be8b0cadd79891ec7627daddae937740d0aea Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Wed, 8 Apr 2020 17:58:19 -0700 Subject: [PATCH] Moar vm.max_map_count --- sys-tuner/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-tuner/src/main.rs b/sys-tuner/src/main.rs index eed88aa6f..0b920b92e 100644 --- a/sys-tuner/src/main.rs +++ b/sys-tuner/src/main.rs @@ -93,7 +93,7 @@ fn tune_kernel_udp_buffers_and_vmmap() { sysctl_write("net.core.wmem_default", "134217728"); // increase mmap counts for many append_vecs - sysctl_write("vm.max_map_count", "262144"); + sysctl_write("vm.max_map_count", "1000000"); } #[cfg(unix)]