增加 vm.max_map_count 内核参数自动调整

This commit is contained in:
GoEdgeLab
2024-04-15 15:18:22 +08:00
parent 7a1c417b57
commit a63b530c09

View File

@@ -1126,6 +1126,7 @@ func (this *Node) tuneSystemParameters() {
{name: "net.core.wmem_default", minValue: 4 << 20},
{name: "net.core.rmem_max", minValue: 32 << 20},
{name: "net.core.wmem_max", minValue: 32 << 20},
{name: "vm.max_map_count", minValue: 256 << 10},
}
// vm