4 ms·
I just add a 4Gb swapfile using a file on the filesystem, works just fine.
by trollied 4y ago
I just add a 4Gb swapfile using a file on the filesystem, works just fine.
- ddtaylor 4y agoSame. I even have some scripts in the past that would use more memory for some operations that would first add extra swapfile, do stuff, then remove it after.
- sys42590 4y agoAgreed, a swap(file) on a NVME SSD can keep the kernel's OOM killer away while still yielding quite acceptable performance under many workloads.
- mongrelion 4y agoThank you for this. I have been having some issues recently with one of my servers and my solution was to increase the size of the tmp mount but that's basically a Russian roulette. Enabling swap during the update sounds like an elegant solution.