mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-15 09:10:25 +08:00
增加 vm.max_map_count 内核参数自动调整
This commit is contained in:
@@ -1126,6 +1126,7 @@ func (this *Node) tuneSystemParameters() {
|
|||||||
{name: "net.core.wmem_default", minValue: 4 << 20},
|
{name: "net.core.wmem_default", minValue: 4 << 20},
|
||||||
{name: "net.core.rmem_max", minValue: 32 << 20},
|
{name: "net.core.rmem_max", minValue: 32 << 20},
|
||||||
{name: "net.core.wmem_max", minValue: 32 << 20},
|
{name: "net.core.wmem_max", minValue: 32 << 20},
|
||||||
|
{name: "vm.max_map_count", minValue: 256 << 10},
|
||||||
}
|
}
|
||||||
|
|
||||||
// vm
|
// vm
|
||||||
|
|||||||
Reference in New Issue
Block a user