Moar vm.max_map_count (#9385)

automerge
This commit is contained in:
mergify[bot]
2020-04-08 19:14:15 -07:00
committed by GitHub
parent 7a0dcdd1a4
commit 0969e87b08

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)]