4 ms·
There have been many times, in 30 years, where I've been glad I've got swap enabled so I can recover a nearly-out-of-control production system in time, with the
by mmjaa 9y ago
There have been many times, in 30 years, where I've been glad I've got swap enabled so I can recover a nearly-out-of-control production system in time, with the right procedures, instead of everything just being killed.
Thats enough for me to turn it on. But, also, gigs of RAM is another must-do cargo-cult thing...
- jacquesm 9y agoDid you do root cause analysis and did you make sure that same condition could never happen again or did you figure that since the swap file saved you that no further action was needed? The 'many times' has me worried.
- mmjaa 9y agoMany times .. over 30 years. And yes, it was mostly due to bugs in the code, which I wouldn't have been able to assess if my machine had just OOM'ed everything. That's the point: swap gives you a little leeway for these analyses.