What are recommended requirements of SWAP, RAM and Disk space for Plesk Obsidian

Follow

Comments

5 comments

  • Avatar
    Ehud Ziegelman (Edited )

    Hi Yaroslav Tarasov,

    Running: 

    sudo swapon --show
    NAME       TYPE  SIZE USED PRIO
    /pleskswap file 1024M   0B   -2

     

    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

     

     

    0
    Comment actions Permalink
  • Avatar
    Yaroslav Tarasov (Edited )

    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

    0
    Comment actions Permalink
  • Avatar
    Ehud Ziegelman

    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:

     

     

    0
    Comment actions Permalink
  • Avatar
    Ehud Ziegelman

    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.

     

    0
    Comment actions Permalink
  • Avatar
    Yaroslav Tarasov

    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!

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request