Page MenuHomeVyOS Platform

Increase default sysctl values
Open, Requires assessmentPublicFEATURE REQUEST

Description

The main idea is to increase or decrease some sysctl params which usually need to change by default. e.g.
nf_conntrack_tcp_timeout_established by default 432000/60/60/24 = 5 days

net.netfilter.nf_conntrack_max
net.ipv4.tcp_mem
net.ipv4.udp_mem
net.ipv4.tcp_rmem
net.ipv4.udp_rmem_min
net.ipv4.tcp_keepalive_time
net.ipv4.tcp_keepalive_probes
net.ipv4.tcp_keepalive_intvl
net.core.somaxconn
net.core.netdev_max_backlog
net.ipv4.tcp_max_syn_backlog
net.ipv4.tcp_syn_retries
net.ipv4.tcp_synack_retries
net.core.netdev_max_backlog
net.ipv4.neigh.default.gc_thresh1
net.ipv4.neigh.default.gc_thresh2
net.ipv4.neigh.default.gc_thresh3
net.ipv6.neigh.default.gc_thresh1
net.ipv6.neigh.default.gc_thresh2
net.ipv6.neigh.default.gc_thresh3
net.ipv4.tcp_congestion_control
net.ipv4.tcp_slow_start_after_idle
net.ipv4.tcp_max_tw_buckets

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Dmitry created this task.Apr 18 2020, 4:13 PM
pasik added a subscriber: pasik.Apr 19 2020, 8:36 AM
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Dmitry claimed this task.Thu, Jul 30, 2:53 PM
Dmitry added a comment.Mon, Aug 3, 9:23 PM

The main idea to add some automation logic for calculation:

vyos@vyos# set system sysctl profile 
Possible completions:
   <text>       Sysctl profile
   Profile1     
   Profile2     
   auto