Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch revise nginx & php default buffers in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 23, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    45,157
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    4:52 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    revise nginx & php default buffers in 123.09beta01

    for fresh installs only, revise nginx.conf and php.conf buffer defaults for better use of memory

    change /usr/local/nginx/conf/nginx.conf output_buffers to value = 2 32K
    Code (Text):
    output_buffers   2 32k;

    in /usr/local/nginx/conf/php.conf and variants for Module ngx_http_fastcgi_module, change to
    Code (Text):
    fastcgi_buffer_size 4k;
    fastcgi_buffers 512 4k;

    Existing installs will have to manually update those settings as to not override folks custom values set for php. For nginx.conf updated 123.09beta01 and run centmin.sh menu once should make the change for output_buffers.

    Continue reading...

    123.09beta01 branch
     
  2. BamaStangGuy

    BamaStangGuy Premium Member Premium Member

    651
    189
    43
    May 25, 2014
    Ratings:
    +264
    Local Time:
    1:52 PM
    Any reading material for why the adjustment?
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,157
    10,272
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,919
    Local Time:
    4:52 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    You can read official doc explanation of those variables at Module ngx_http_fastcgi_module and Module ngx_http_core_module

    for fastcgi