Knowledgebase

How to increase the size of the swap partition on my VPS hosting?

We offer an ISO image of GParted Live for graphical management of disk partitions. You may increase the size of a swap partition as following instructions.

Generally there are two partitions on your VPS hosting: root partition (/dev/vda1 or /dev/sda1) and swap partition (/dev/vda2 or /dev/sda2).

1. Boot to GParted Live.

2. Resize root partition and get enough free space for swap use.

3. Resize swap partition:

(1) Move the partition for using free space preceding;

(2) Extend the partition for using free space following.

4. Apply the changes.

Was this answer helpful?

 Print this Article

Also Read

How to install cPanel?

Through Virtualizor Panel, you may install cPanel. But because the installation of cPanel takes a...

How to install Virtualmin?

You may install Virtualmin on a fresh system as the following instructions: Step 1: Run the...

How to disable an open DNS resolver?

An open DNS resolver has a serious risk of abuse for DNS amplification and reflection attacks....