Moar vm.max_map_count

This commit is contained in:
Michael Vines 2020-04-08 17:58:19 -07:00
parent ad0482be73
commit 6a2be8b0ca
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ fn tune_kernel_udp_buffers_and_vmmap() {
sysctl_write("net.core.wmem_default", "134217728"); sysctl_write("net.core.wmem_default", "134217728");
// increase mmap counts for many append_vecs // increase mmap counts for many append_vecs
sysctl_write("vm.max_map_count", "262144"); sysctl_write("vm.max_map_count", "1000000");
} }
#[cfg(unix)] #[cfg(unix)]