Welcome to Centmin Mod Community
Become a Member

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

    May 24, 2014
    Brisbane, Australia
    Local Time:
    10:40 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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

    Nov 11, 2016
    Local Time:
    4:40 PM
    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: