- Plesk Onyx for Linux
/pleskswap file for?
/pleskswap is created during the installation process in case the server has less than 1Gb of RAM. It is used as swap for the server.
Note: the following instructions applicable only during the initial server deployment.
You can manage it in the
/etc/pleskswaprc file which overrides default swap settings:
Connect to the server via SSH.
/etc/pleskswaprcif it does not exist:
# touch /etc/pleskswaprc
/etc/pleskswaprcwith the possible options below:
CONFIG_TEXT: # disable plesk swap. the same as creating /etc/pleskswapdisable
#path to swapfile (e.g. if you need to place swap to another partition)
#change default swap size
#required amount of memory. If actual memory+swap size if less than this value then plesk swap will be enabled before installation.
Note: after Plesk installation
/pleskswap may be removed manually.