How to create or add swap file on Linux and FreeBSD?

How to create or add swap file on Linux and FreeBSD?

Sometime you need to increase swap memory to run softwares that need more swap as the requirement or to improve the system performance. In this article I will show you on how to add swap file to get more swap memory on Linux and FreeBSD. We will create 1 GB or 1024 MB swap size.

1. Adding swap file on Linux

Login as root or change to super user then type the following command to create 1 GB swap file.

Read More: https://blog.oudel.com/how-to-create-or-add-swap-file-on-linux-and-freebsd/

Comments

Popular posts from this blog

Unlocking the Power of VPS Hosting in the Philippines: A Comprehensive Guide

Tackling Memory Leaks on Palworld Dedicated Servers