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

    55,382
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    12:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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 Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    10:31 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

    4,101
    428
    83
    May 31, 2014
    Ratings:
    +838
    Local Time:
    5:31 PM
    Nginx-1.26.x
    MariaDB 10.6.x
    5GB is the maximum :)
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,382
    12,255
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,835
    Local Time:
    12:31 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    It only looks in web root /public for largest file size