* Added a new remote node configuration script to set rmem/wmem * Update common.sh for rmem/wmem configuration
12 lines
267 B
Bash
Executable File
12 lines
267 B
Bash
Executable File
#!/bin/bash -ex
|
|
#
|
|
|
|
[[ $(uname) = Linux ]] || exit 1
|
|
[[ $USER = root ]] || exit 1
|
|
|
|
sudo sysctl -w net.core.rmem_default=1610612736
|
|
sudo sysctl -w net.core.rmem_max=1610612736
|
|
|
|
sudo sysctl -w net.core.wmem_default=1610612736
|
|
sudo sysctl -w net.core.wmem_max=1610612736
|