summaryrefslogtreecommitdiff
path: root/sysconf/vyatta-sysctl.conf
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-03-09 19:17:49 +0200
committerDaniil Baturin <daniil@vyos.io>2020-03-09 19:17:49 +0200
commit5dd56053319f1af72d8d684151873e559ed1de46 (patch)
treef67c55a9ad1b729b3bfa15c57721c1f2db2b5290 /sysconf/vyatta-sysctl.conf
parentf1467d4c193f02bd17b31630045cd53b7109b9e3 (diff)
parent72516c872e1690895d0269cafcb87e4e44bf153c (diff)
downloadvyatta-cfg-system-vyos/1.2.5.tar.gz
vyatta-cfg-system-vyos/1.2.5.zip
Merge branch 'crux' of github.com:vyos/vyatta-cfg-system into cruxvyos/1.2.5
Diffstat (limited to 'sysconf/vyatta-sysctl.conf')
-rw-r--r--sysconf/vyatta-sysctl.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/sysconf/vyatta-sysctl.conf b/sysconf/vyatta-sysctl.conf
index 560c29de..0314fcc5 100644
--- a/sysconf/vyatta-sysctl.conf
+++ b/sysconf/vyatta-sysctl.conf
@@ -80,3 +80,12 @@ net.ipv4.igmp_max_memberships = 512
# Enable conntrack helper by default
net.netfilter.nf_conntrack_helper=1
+
+# Increase default garbage collection thresholds
+net.ipv4.neigh.default.gc_thresh1 = 1024
+net.ipv4.neigh.default.gc_thresh2 = 4096
+net.ipv4.neigh.default.gc_thresh3 = 8192
+#
+net.ipv6.neigh.default.gc_thresh1 = 1024
+net.ipv6.neigh.default.gc_thresh2 = 4096
+net.ipv6.neigh.default.gc_thresh3 = 8192