feat(sysctl): 添加vm.overcommit_memory配置项
This commit is contained in:
1
1.sh
1
1.sh
@@ -62,6 +62,7 @@ sysctl_config() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
SYSCTL_SETTINGS=(
|
SYSCTL_SETTINGS=(
|
||||||
|
"vm.overcommit_memory=1"
|
||||||
"net.core.rmem_max=16777216"
|
"net.core.rmem_max=16777216"
|
||||||
"net.core.wmem_max=16777216"
|
"net.core.wmem_max=16777216"
|
||||||
"net.core.default_qdisc=fq_codel"
|
"net.core.default_qdisc=fq_codel"
|
||||||
|
|||||||
Reference in New Issue
Block a user