Applicable to:
- Plesk for Linux
Question
How to remove /pleskswap
file?
Answer
/pleskswap
file is being created by Plesk during the installation when the server lacks RAM capacity./pleskswap
is mounted via /etc/fstab
and behaves as a standard swap space.
Warning: Disabling swap and removing this file is an administrative decision.
If you are sure that the swap space is not required, follow these steps to disable it and remove the file:
-
Open file
/etc/fstab
with the text editor and comment out or remove the following line:CONFIG_TEXT: /pleskswap none swap sw 0 0
Warning: if
/etc/fstab
contains errors the next step may lead to the server inoperability. -
Apply setting from
/etc/fsat
via the following command:# mount -a
-
Disable the swap feature on
/pleskswap
file and remove it (reboot the server if swapoff hangs):# swapoff /pleskswap
# rm -f /pleskswap
Comments
0 comments
Please sign in to leave a comment.