Learn about Centmin Mod LEMP Stack today
Become a Member

Swap on VPS with SSD storage

Discussion in 'Virtual Private Server (VPS) hosting' started by viralpoet, Jun 27, 2017.

  1. viralpoet

    viralpoet Member

    35
    3
    8
    Mar 5, 2017
    Ratings:
    +9
    Local Time:
    2:08 PM
    1.10.3
    10
    Nearly got caught out with this in the instructions as my current VPS has SSD storage.

    Optimally, for KVM/Xen/VMWare or dedicated you should configure your server with at least 1GB to 2GB swap space if possible.

    Fortunately I found this on another hosting site
    "We do not recommend enabling swap on DigitalOcean or any other provider that utilizes SSD storage."

    How To Add Swap on CentOS 7 | DigitalOcean
     
  2. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    12:08 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Nope you should always create a swap disk even if you have ssd storage
     
  3. rc112

    rc112 Member

    124
    14
    18
    Sep 22, 2017
    Ratings:
    +15
    Local Time:
    10:08 AM
    Hi I read the same post regarding not creating swap on SSD. I am interested in knowing why you recommend so against DO, @eva2000? Thank you.
     
  4. eva2000

    eva2000 Administrator Staff Member

    34,591
    7,653
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,770
    Local Time:
    12:08 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    If you run out of memory without swap, you're screwed :D
     
    • Like Like x 1
..