3 ms·
Ironically, a swappiness of 0 may be detrimental to the health of software running on a VM, as it severely limits what may be swapped out of memory. This means
by falcolas 12y ago
Ironically, a swappiness of 0 may be detrimental to the health of software running on a VM, as it severely limits what may be swapped out of memory. This means that the OOM killer ends up being more aggressive against the processes on your system.
A better value is one of "2" - this allows the Kernel to swap out data in response to memory pressure, without being overly aggressive about it.
- deleted 12y ago[deleted]
- jdub 12y agoEC2 instances are typically configured without swap at all.