Welcome to Centmin Mod Community
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

    35,104
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    7:28 PM
    Nginx 1.15.x
    MariaDB 5.5/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
     
    • Winner Winner x 1
  2. rdan

    rdan Premium Member Premium Member

    4,228
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    5:28 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 Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    12:28 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    5GB is the maximum :)
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    35,104
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    7:28 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    It only looks in web root /public for largest file size
     
    • Informative Informative x 1
..