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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Dec 17, 2025 | Vm.overcommit_memory=2 is the right setting for servers by signa11 | 109 | 144 |