Learn about Centmin Mod LEMP Stack today
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

    38,654
    8,531
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,109
    Local Time:
    11:44 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,515
    1,082
    113
    May 25, 2014
    Ratings:
    +1,579
    Local Time:
    9:44 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,210
    305
    83
    May 31, 2014
    Ratings:
    +552
    Local Time:
    3:44 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    5GB is the maximum :)
     
    • Informative Informative x 1
  4. eva2000

    eva2000 Administrator Staff Member

    38,654
    8,531
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +13,109
    Local Time:
    11:44 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
..