Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch update nginxlargefile_fix + add AUTOTUNE_CLIENTMAXBODY='y' variable

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 10, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    48,894
    11,189
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,423
    Local Time:
    1:33 AM
    Nginx 1.21.x
    MariaDB 10.x
    update nginxlargefile_fix + add AUTOTUNE_CLIENTMAXBODY='y' variable

    - add AUTOTUNE_CLIENTMAXBODY='y' variable to control whether client_max_body_size gets auto tuned as sites with large amounts of files in web root will take longer to process meaning centmin.sh takes longer to launch Beta Branch - update nginxlargefile_fix function more efficient find command
    - setting AUTOTUNE_CLIENTMAXBODY='n' in persistent config file /etc/centminmod/custom_config.inc will disable auto tuning for such large sites so they can set client_max_body_size manually


    Continue reading...

    123.09beta01 branch
     
  2. rdan

    rdan Premium Member Premium Member

    5,294
    1,315
    113
    May 25, 2014
    Ratings:
    +2,036
    Local Time:
    11:33 PM
    Mainline
    10.2
    What is the maximum value it can auto configure?
    I have backup DB files under /domains/ folder.
    File size: 6gb, 10GB+, 20GB+ and 30GB+ :/.
     
  3. pamamolf

    pamamolf Premium Member Premium Member

    3,986
    414
    83
    May 31, 2014
    Ratings:
    +803
    Local Time:
    6:33 PM
    Nginx-1.17.x
    MariaDB 10.3.x
    5GB is the maximum :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    48,894
    11,189
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,423
    Local Time:
    1:33 AM
    Nginx 1.21.x
    MariaDB 10.x
    It only looks in web root /public for largest file size