Increase vm map limit recommendation (#14892)

Give some more buffer from 400k
This commit is contained in:
sakridge 2021-01-29 09:01:01 -08:00 committed by GitHub
parent 0ce08274f9
commit 84e52b6065
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -83,7 +83,7 @@ sudo sysctl -p /etc/sysctl.d/20-solana-udp-buffers.conf
```bash
sudo bash -c "cat >/etc/sysctl.d/20-solana-mmaps.conf <<EOF
# Increase memory mapped files limit
vm.max_map_count = 500000
vm.max_map_count = 700000
EOF"
```
```bash

View File

@ -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", "500000");
sysctl_write("vm.max_map_count", "700000");
}
#[cfg(unix)]