Discover Centmin Mod today
Register Now

Beta Branch update nginx & php-fpm TCP specific backlogs in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, May 31, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    42,374
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,744
    Local Time:
    2:42 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    update nginx & php-fpm TCP specific backlogs in 123.09beta01

    - For fresh centmin mod installs, new updated nginx & php-fpm TCP backlog values are being set for non-openvz systems (i.e. dedicated servers, kvm, xen vps etc) and their values are being calculated dynamically based on system detected TCP settings environment in place.
    - Existing centmin mod installs are unchanged for TCP settings as to not overwrite any existing custom settings centmin mod users already have in place though their corresponding nginx & php-fpm TCP backlogs will be updated on php update/recompiles via centmin.sh menu option 5 runs based on your pre-existing TCP settings in place - folks can verify their backlog directive in your listen directive in your main nginx vhosts's config file at /usr/local/nginx/conf/conf.d/virtual.conf and listen.backlog value set in php-fpm main pool config file at /usr/local/etc/php-fpm.conf

    Continue reading...

    123.09beta01 branch

     
    • Informative Informative x 1
  2. rdan

    rdan Well-Known Member

    4,741
    1,144
    113
    May 25, 2014
    Ratings:
    +1,711
    Local Time:
    12:42 PM
    Mainline
    10.2
    So our old install will remain:
    net.core.netdev_max_backlog=8192
    net.core.somaxconn=8151

    Unless we change it manually?
     
  3. eva2000

    eva2000 Administrator Staff Member

    42,374
    9,568
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,744
    Local Time:
    2:42 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yup old existing Centmin Mod installs which are on non-openvz systems, would need to change those values manually to the new values - edit there's a 3rd setting to change
    Code (Text):
    net.core.netdev_max_backlog=65536
    net.core.somaxconn=65535
    net.ipv4.tcp_max_syn_backlog=65536
    


    for centos 7 in /etc/sysctl.d/101-sysctl.conf and after run command
    Code (Text):
    sysctl --system

    for centos 6 in /etc/sysctl.conf and after run command
    Code (Text):
    sysctl -p
     
    • Winner Winner x 1
  4. rdan

    rdan Well-Known Member

    4,741
    1,144
    113
    May 25, 2014
    Ratings:
    +1,711
    Local Time:
    12:42 PM
    Mainline
    10.2
    • Agree Agree x 1