Blog posts dated February 2021 – 1 post found:

Setting up a swapfile on Linux

Computers only have a finite amount of RAM. When it runs out, they will "swap out" parts of memory that is not crucial to disk, soit can be read back in when necessary. As disks are much slower than RAM, even with modern SSD drives, having more RAM is always preferable to swapping, but it's still a good idea to have swap space available for when it is required. If you don't, you might find the "oom killer" has killed an important process to make some memory available to others. You really don't want your database getting killed just because PHP requires some extra memory because it's resizing a large image.
Read more