Ariadne Conill personal blog

Vm.overcommit_memory=2 is the right setting for servers

The Linux kernel has a feature where you can tune the behavior of memory allocations: the vm.overcommit_memory sysctl. When overcommit is enabled (sadly, this is the default), the kernel will typically return a mapping when brk(2) or mmap(2) is called to increase a program’s heap size, regardless of whether or not…
Points
109
HN comments
144
Submissions
1
Cited by
0 commenters

Systems & PerformanceInfrastructure & DevOps2025

On Hacker News

SubmittedTitle on HNPointsComments
Dec 17, 2025Vm.overcommit_memory=2 is the right setting for servers by signa11109144

More from Ariadne Conill

All 14 posts →

Related posts from the same era