Amount of Swap Partition for large RAM

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • aliseghat
    Junior Member
    • Mar 2021
    • 10

    #1

    Amount of Swap Partition for large RAM

    swap,large RAM,Cpanle,directadmin
  • aliseghat
    Junior Member
    • Mar 2021
    • 10

    #2
    Hi.
    I want to install cloudlinux with Cpanel Or maybe with Directadmin.
    I maybe use 16GB or 24GB or 48GB RAM.
    I want to know what size swap Partition must create?
    (My server will be used for high traffic web hosting)
    Thanks

    Comment

    • iseletsk
      Senior Member
      • Dec 2017
      • 1199

      #3
      Making swap too big makes little sense -- as once system starts to use swap, the performance degradation is immense.
      Usually, making swap size of more then 4GB on a shared hosting server doesn benefit the system at all. Many people cap swap at 2GB total on web hosting servers.

      Here is article on linux swap
      http://www.cyberciti.biz/tips/linux-swap-space.html
      That talks about it in more details.

      Comment

      • aliseghat
        Junior Member
        • Mar 2021
        • 10

        #4
        thanks

        Comment

        Working...