Skip to main content

Posts

Showing posts with the label SWAP Memory

How To Add Swap Space on CentOS 7?

We are using high performance SSD VPS where we don't have any SWAP Partition. This can cause you to lose unsaved data or experience downtime. To ensure reliable data access, some applications require swap to function. I have purchase a SSD VPS from Upcloud and get five months Free using Promo Code: AQX767 

My VPS Details:
OS: CentOS Linux release 7.7.1908 (Core)
CPU Model: Intel(R) Xeon(R) Gold 6136 CPU @ 3.00GHz
RAM: 1 GB
Storage: SSD 25 GB
Start Your Free Trial for 5 Months, Use Promo Code: AQX767 Swap space can take the form of either a dedicated swap partition or a swap file. In most cases when running CentOS on a virtual machine a swap partition is not present so the only option is to create a swap file. In this guide, we will cover how to create and enable a swap file on a CentOS 7 server.
Before You Begin Display a summary of swap usage
# swapon --show If nothing is returned by the command, then the summary was empty and no swap file exists.
Another way of checking for swap space
#…