System Tuning
export VALIDATOR_HOSTNAME=<YOUR_REMOTE_VALIDATOR_HOSTNAME>
export VALIDATOR_SSH_PORT=<YOUR_REMOTE_VALIDATOR_SSH_PORT>
ssh ubuntu@$VALIDATOR_HOSTNAME -p $VALIDATOR_SSH_PORTsudo bash -c "cat >/etc/sysctl.d/21-agave-validator.conf <<EOF
# Increase max UDP buffer sizes
net.core.rmem_default = 134217728
net.core.rmem_max = 134217728
net.core.wmem_default = 134217728
net.core.wmem_max = 134217728
# Increase memory mapped files limit
vm.max_map_count = 1000000
# Increase number of allowed open file descriptors
fs.nr_open = 1000000
EOF"
sudo sysctl -p /etc/sysctl.d/21-agave-validator.confLast updated
Was this helpful?