Want more timely Centmin Mod News Updates?
Become a Member

Nginx Need some advice for Upload/Download File Sharing site?

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by RoldanLT, Jul 20, 2017.

  1. RoldanLT

    RoldanLT Well-Known Member

    3,822
    928
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,256
    Local Time:
    9:37 AM
    1.11
    10.2
    I just created a new site with only purpose of File Sharing.
    Small to Large Files (max of 500mb).

    Any tips on improving my Nginx Config?

    I just read some tips about this config:
    • aio (sems doesn't work for my centmin setup)
    • sendfile
    • tcp_nopush
    • directio

     
  2. eva2000

    eva2000 Administrator Staff Member

    28,925
    6,566
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,744
    Local Time:
    11:37 AM
    Nginx 1.13.x
    MariaDB 5.5
    centmin mod 123.09beta01 out of box should be quite optimal already :)

    what problems you have with aio threads outlined at Boosting NGINX Performance 9x with Thread Pools ?

    working fine here on this forum's setup (since August 2015 :) ) with nginx configured to support aio and multi-threads --with-threads as per Module ngx_http_core_module

    and Core functionality
     
    Last edited: Jul 20, 2017
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    28,925
    6,566
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,744
    Local Time:
    11:37 AM
    Nginx 1.13.x
    MariaDB 5.5
  4. RoldanLT

    RoldanLT Well-Known Member

    3,822
    928
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,256
    Local Time:
    9:37 AM
    1.11
    10.2
    Aha, I have this disabled, my bad.
    Thanks!
     
    • Informative Informative x 1
  5. eva2000

    eva2000 Administrator Staff Member

    28,925
    6,566
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,744
    Local Time:
    11:37 AM
    Nginx 1.13.x
    MariaDB 5.5
    haha messing around with custom config settings too much - centmin mod 123.09beta01 and higher have nginx threads enabled by default
    Code (Text):
    NGINX_THREADS='y'            # https://www.nginx.com/blog/thread-pools-boost-performance-9x/
    
     
    • Like Like x 1