Welcome to Centmin Mod Community
Register Now

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

    36,061
    7,912
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,195
    Local Time:
    12:56 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,256
    1,035
    113
    May 25, 2014
    Ratings:
    +1,487
    Local Time:
    10:56 AM
    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,113
    295
    83
    May 31, 2014
    Ratings:
    +530
    Local Time:
    5:56 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    5GB is the maximum :)
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    36,061
    7,912
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,195
    Local Time:
    12:56 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
..