Skip to content

Commit

Permalink
sysctl: add net backlog kernel parameters.
Browse files Browse the repository at this point in the history
net.core.somaxconn = 65535
net.core.netdev_max_backlog = 10000
net.ipv4.tcp_max_syn_backlog = 8192
  • Loading branch information
vitabaks committed Mar 5, 2020
1 parent 3444c3f commit 567ebda
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vars/system.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,18 @@ sysctl_conf:
- { name: "net.ipv4.ip_forward", value: "1" }
- { name: "net.ipv4.ip_local_port_range", value: "1024 65535" }
- { name: "net.netfilter.nf_conntrack_max", value: "1048576" }
- { name: "net.core.netdev_max_backlog", value: "10000" }
- { name: "net.ipv4.tcp_max_syn_backlog", value: "8192" }
- { name: "net.core.somaxconn", value: "65535" }
# - { name: "", value: "" }
balancers:
- { name: "net.ipv4.ip_nonlocal_bind", value: "1" }
- { name: "net.ipv4.ip_forward", value: "1" }
- { name: "net.ipv4.ip_local_port_range", value: "1024 65535" }
- { name: "net.netfilter.nf_conntrack_max", value: "1048576" }
- { name: "net.core.netdev_max_backlog", value: "10000" }
- { name: "net.ipv4.tcp_max_syn_backlog", value: "8192" }
- { name: "net.core.somaxconn", value: "65535" }
# - { name: "", value: "" }


Expand Down

0 comments on commit 567ebda

Please sign in to comment.