- Plesk for Linux
/pleskswap file for and how to delete it?
/pleskswap is created during the installation process in case the server has less than 1Gb of RAM. It is used as swap for Plesk.
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 edit
/etc/pleskswaprc as follows:
# cat /etc/pleskswaprc | grep 'PLESK_SWAP'
The other option is to create
# touch /etc/pleskswapdisable