Increase wmem for kernel network memory usage (#1323)

- Validators were running out of kernel buffer while retransmitting
  blobs
This commit is contained in:
Pankaj Garg 2018-09-24 13:02:56 -07:00 committed by GitHub
parent 95677a81c5
commit bc88473030
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -108,6 +108,12 @@ tune_networking() {
sysctl net.core.rmem_default 2>/dev/null 1>/dev/null &&
sudo sysctl -w net.core.rmem_default=26214400 1>/dev/null 2>/dev/null
sysctl net.core.wmem_max 2>/dev/null 1>/dev/null &&
sudo sysctl -w net.core.wmem_max=67108864 1>/dev/null 2>/dev/null
sysctl net.core.wmem_default 2>/dev/null 1>/dev/null &&
sudo sysctl -w net.core.wmem_default=26214400 1>/dev/null 2>/dev/null
) || true
fi