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:
    +161
    Local Time:
    6:45 AM
    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.
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    27,803
    6,343
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,361
    Local Time:
    8:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    nice catch, indeed looks like backlog value didn't change !
     
  3. eva2000

    eva2000 Administrator Staff Member

    27,803
    6,343
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,361
    Local Time:
    8:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  4. dorobo

    dorobo Active Member

    420
    104
    43
    Jun 6, 2014
    Ratings:
    +161
    Local Time:
    6:45 AM
    latest
    latest
    backlog is still 256 I'm afraid :(
     
  5. eva2000

    eva2000 Administrator Staff Member

    27,803
    6,343
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,361
    Local Time:
    8:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Jun 26, 2014