Virtual or not, I think it comes down to whether there is any risk of running out of RAM.
I run OpenStack compute hosts at work on really beefy machines with hundreds of gigabytes of RAM. I'd say swap gives you a bit of extra safety buffer just in case something unexpected eats all your RAM. Disk space is usually cheap and so having a swap file "just in case" is often a good bet. If you run out of RAM and swap, oomkiller will pay you a visit, which typically isn't nice. - Paul On Mon, Feb 20, 2023 at 05:10 Jake Bottero <[email protected]> wrote: > Running RHEL on a virtual (cloud) server, is there any benefit from > creating a swap file? >
