Join the community today
Become a Member

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

    55,225
    12,253
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,831
    Local Time:
    8:48 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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