Cobra Forum

Plesk Panel => Others => Topic started by: senthil on Oct 23, 2025, 07:56 AM

Title: How to enable/create a swap file on a Plesk Linux server?
Post by: senthil on Oct 23, 2025, 07:56 AM
Question

How to enable/create a swap file on a Plesk Linux server?

Answer

Plesk requires a minimum of 1 GB of swap on a Linux server. According to this article, Plesk does not manage
swap space. The recommended size for the SWAP can be checked in hardware requirements document. Usually, for
servers with more than 2 GB, the recommendation is half of the amount of RAM.

This article describes how to manually create and enable the swap file in the Linux operating system.

Note: Not having a paging file of sufficient size can affect processes and make the system
unstable if there is not enough memory or a memory leak occurs. The recommendation and
importance explanation you may find in the next link Do we really need swap on modern
systems (https://www.redhat.com/en/blog/do-we-really-need-swap-modern-systems)?

Steps to Create & Enable Swap File