Join the community today
Become a Member

Beta 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

    53,148
    12,110
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,645
    Local Time:
    6:11 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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...


    123.09beta01 branch