Learn about Centmin Mod LEMP Stack today
Register Now

Master Branch revise swap disk detection for non-openvz systems in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 17, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,783
    Local Time:
    10:59 PM
    Nginx 1.13.x
    MariaDB 5.5
    revise swap disk detection for non-openvz systems in 123.09beta01

    Before this change, only when detected 0 swap size does Centmin Mod auto add a 1GB swap disk. But now revised that detection to 0 or if less than 1GB memory installed + less than or equal to 512MB swap disk, still adds an additional 1GB swap disk. The reason is due to Nginx and PHP-FPM source compiles can take up alot of memory and some systems default to very low swap disks by default i.e. Linode default preset is 256MB swap disk. May not be enough on 1GB memory systems.

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.
     
  2. RB1

    RB1 Active Member

    269
    70
    28
    Nov 11, 2016
    California
    Ratings:
    +117
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 10.1.x
    I wasn't even sure what this was when setting up my Linode :)
    I just went with 512MB swap disk but have no idea what it is or what I need :LOL: