Get the most out of your Centmin Mod LEMP stack
Become a Member

[Solved] backlog in nginx_install.inc

Discussion in 'Bug Reports' started by dorobo, Jun 26, 2014.

Tags:
  1. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    2:57 PM
    latest
    latest
    Line 73 of nginx_install.inc


    Code:
    sed -i 's/backlog=256/backlog=2048/g' $CUR_DIR/config/nginx/conf/conf.d/virtual.conf
    doesn't work

    backlog in virtual.conf is still 256.

    Tested on DigitalOcean KVM Centminmod CLI install

    Since this is KVM, /etc/sysctl.conf exists and checked that

    Code:
    net.core.wmem_max=12582912
    net.core.rmem_max=12582912
    net.ipv4.tcp_rmem= 10240 87380 12582912
    net.ipv4.tcp_wmem= 10240 87380 12582912
    net.core.netdev_max_backlog=8192
    net.core.somaxconn=8150
    net.core.optmem_max=8192
    net.ipv4.tcp_fin_timeout=20
    net.ipv4.tcp_keepalive_intvl=30
    net.ipv4.tcp_keepalive_probes=3
    net.ipv4.tcp_keepalive_time=300
    net.ipv4.tcp_max_syn_backlog=8192
    net.ipv4.tcp_sack=0
    net.ipv4.tcp_syn_retries=3
    net.ipv4.tcp_synack_retries = 2
    net.ipv4.tcp_tw_recycle = 1
    net.ipv4.tcp_tw_reuse = 1
    vm.swappiness=20
    vm.min_free_kbytes=65536
    net.ipv4.ip_local_port_range=10000 65500
    were indeed added.
     
  2. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nice catch, indeed looks like backlog value didn't change !
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +162
    Local Time:
    2:57 PM
    latest
    latest
    backlog is still 256 I'm afraid :(
     
  5. eva2000

    eva2000 Administrator Staff Member

    54,110
    12,179
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,739
    Local Time:
    4:57 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Last edited: Jun 26, 2014