Sync FD limit and max maps to 500k
This commit is contained in:
committed by
mergify[bot]
parent
e2d66cf796
commit
11951eb009
@ -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", "1000000");
|
||||
sysctl_write("vm.max_map_count", "500000");
|
||||
}
|
||||
|
||||
#[cfg(unix)]
|
||||
|
Reference in New Issue
Block a user