summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@sentrium.io>2020-01-15 13:02:40 -0600
committerJohn Estabrook <jestabro@sentrium.io>2020-01-15 13:02:40 -0600
commitb44290d8cf3a39ef7bc8f6a18e8e16db79fce785 (patch)
treea4ae8f44f747d4a64c9da8be6a34c3f2bd403619 /sysconf
parentc4e13e3337afb2443541c6e99569d19f57962cb7 (diff)
downloadvyatta-cfg-system-b44290d8cf3a39ef7bc8f6a18e8e16db79fce785.tar.gz
vyatta-cfg-system-b44290d8cf3a39ef7bc8f6a18e8e16db79fce785.zip
arp: T1827: Increase default gc_thresh
Diffstat (limited to 'sysconf')
-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