Learn about Centmin Mod LEMP Stack today
Register Now

Beta Branch add auto swap file setup and detection on initial installs

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 7, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    29,049
    6,591
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,786
    Local Time:
    5:35 AM
    Nginx 1.13.x
    MariaDB 5.5
    add auto swap file setup and detection on initial installs

    Swap file detection and setup routine will add a 1GB swap file on disk to servers without swap setup and non-openvz based. This will use ~1GB of free disk space for swap file. This is a precaution for low memory vps systems <1GB which require memory intensive initial install and running i.e. php fileinfo extension when enabled via PHPFINFO='y' need more memory ~1GB on <1GB systems this can be a problem without a swap file as an additional memory buffer.

    If you already have a system setup swap file, this routine will detect that swap already exists and skip auto setup routine of swap file and use your existing swap file setup on the system

    Continue reading...

    123.09beta01 branch
     
    Last edited: Jul 7, 2016