- Plesk Onyx for Linux
/pleskswap file for and how to disable its' creation?
/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 and create
/etc/pleskswaprc if it does not exist:
# touch /etc/pleskswaprc
Possible options are below:
PLESK_INFO: # 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.
To remove the
/pleskswap file set option
/etc/pleskswaprc as follows:
Another option is to creation of
# touch /etc/pleskswapdisable