[Cialug] Mitigating runaway swap with a vm.conf tweak?

Eric Junker eric at eric.nu
Fri Sep 5 13:38:09 CDT 2008


Nathan Stien wrote:
> Howdy Luggers,
> 
> I happened upon a blog post that talks about changing a couple of
> settings in /etc/sysctl.d/vm.conf to get better behavior when you have
> a runaway process grabbing all of your RAM, making your machine
> unresponsive:
> 
> https://www.joachim-breitner.de/blog/archives/303-vm.overcommit_memory-2,-vm.overcommit_ratio-0.html

You can also tune by echoing a value from 0 to 100 into 
/proc/sys/vm/swappiness

Eric


More information about the Cialug mailing list