Plesk for Windows
Plesk for Linux
kb: how-to
ABT: Group B
Applicable to:
- Plesk for Linux
- Plesk for Windows
Question
What are recommended hardware requirements (RAM, Disk space) and the required minimum size of SWAP for Plesk?
Answer
SWAP (Plesk for Linux only)
Amount of RAM on the server | Recommended free disk space for swapping |
Less than 1 GB | 1 GB |
1 GB or more | 1/2 * the amount of RAM |
RAM
Server load | Recommended RAM volume |
No more than 1-3 simultaneous visitors per website, no more than 500 unique visitors per website per day | 1GB of RAM for every 40-50 websites |
5-10 simultaneous visitors per website, between 1000 and 30000 unique visitors per website | Between 500 MB and 1 GB of RAM per website |
Note: The maximum amount of RAM supported is subject to the amount supported by the OS. These requirements can change in time, the latest requirements can be found here: Hardware requirements for Plesk
Disk Space
The minimum amount of free disk space required for installing and running Plesk.
Linux | Windows |
---|---|
20 GB | 32 GB |
It is recommended to have this much disk space for hosting:
Type of hosting | Recommended free disk space for websites |
---|---|
Typical shared hosting (100-500 websites per server) | Between 2 and 2.5 GB per website |
Dedicated VPS hosting (1-10 websites per server) | Between 4 and 12 GB per website |
Comments
5 comments
Hi Yaroslav Tarasov,
Running:
From the naming, it seems as something Plesk was in charge of.
I also can see Plesk recommends half the RAM be used for SWAP, as mentioned above.
May I ask for a Plesk clear guidance of how to increase the swap value, possibly by creating a new swap file, and removing the current one?
Note: This could be similar to the below guide, however come from Plesk:
https://linuxize.com/post/how-to-add-swap-space-on-centos-7/
Warning: As can be seen in the below link, it was Plesk that has created the 1GB SWAP, so saying SWAP has nothing to do with Plesk, is not exactly correct:
https://support.plesk.com/hc/en-us/articles/360006291594?page=1#comment_6155926991762
Hi @Ehud Ziegelman,
/pleskswap
file is being created by Plesk during the installation when the server lacks RAM capacity. It's not removed after the installation due to the same reason - Plesk and the server can become slow if there is low RAM and Swap.If it's required to increase the swap value, I would suggest removing the Plesk swap file using the steps from this article and creating a new swap file as described in many OS-related manuals on the Internet, e.g. the one you've mentioned https://linuxize.com/post/how-to-add-swap-space-on-centos-7/ or https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-centos-7
Hi Yaroslav Tarasov,
Thanks a lot!
As Plesk users MIGHT NOT be aware they are using a server with insufficient SWAP memory allocation, I suggest the Plesk Notifications, indicate such a situation, where the indication may also state current RAM server configuration, with the associated 50% amount SWAP RAM allocation recommendation.
A print screen of the Notification screen I'm referring to, is attached below:
Hi Yaroslav Tarasov,
By the way..
The same Notification, can also include a calculation of simultaneous users amount per website and include a suitable recommendation as above, of needed.
Hi Ehud Ziegelman!
We already have a monitoring tool where we can check RAM and Swap, please refer to my screenshots. Anyways, thank you for your suggestion!
Please sign in to leave a comment.