Swap Partition Problem from SolusVM templates


SolusVM has a bug that does not allows templates installation to setup swap partition correctly. If you have a missing swap partition on your VPS, please follow this simple steps to create it.

swapoff /dev/vda2
mkswap /dev/vda2
swapon /dev/vda2

Verify Swap Partition


In order to verify your swap partition has been successfully created, please run the following command:

free -m


You should see an output like this:

[root@myvps ~]# free -m
             total       used       free     shared    buffers     cached
Mem:           996        401        594          0         11        284
-/+ buffers/cache:        104        891
Swap:         1023          0       1023


In this case, the "Swap" line indicates 1023 MB of swap space allocated. It indicates your Swap has been successfully created.

 

Test on a Miami VPS Now

or

Deploy on a Miami Dedicated Server

Was this answer helpful? 5 Users Found This Useful (115 Votes)