How to create and delete swap


Typically, to increase the stability of the system, especially with the low RAM VPS,  you need to create a virtual RAM (SWAP).  In VPS using VPSSIM, you can create, delete or change Swap size without any command.  The “Swap manage” do not support support create swap in OpenVZ system.

1. How to create swap

We can create swap by using Swap Manage function.

how to create swap in vps vpssim

in Swap Manage, we can create swap size as we need.

how to create swap in vps vpssim

and create swap finished

how to create swap in vps vpssim 2

We can not create swap for server 2 times

create swap for 2 time will be error

 

2. How to delete swap

If you want to change swap size, you must delete current swap before create new one.

Using Delete Swap to delete current swap.

how to delete swap in centos vps

and delete swap finished

how to delete swap in centos vps 2

 

Related Post: