From ca323efbf41f894bd4fb137e191c964e4a781fc5 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sat, 9 Sep 2017 14:30:28 +0200 Subject: set conntrack table size --- roles/configure_sysctl/files/ff.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'roles/configure_sysctl/files/ff.conf') diff --git a/roles/configure_sysctl/files/ff.conf b/roles/configure_sysctl/files/ff.conf index 584bd67..aca9513 100644 --- a/roles/configure_sysctl/files/ff.conf +++ b/roles/configure_sysctl/files/ff.conf @@ -19,6 +19,8 @@ net.ipv6.neigh.default.gc_stale_time=3600 # decrease nf_conntrack_tcp_timeout_established - default=432000 net.netfilter.nf_conntrack_tcp_timeout_established=86400 +net.netfilter.nf_conntrack_max=65536 +net.netfilter.nf_conntrack_buckets=16384 # reboot after kernel panic kernel.panic=1 -- cgit v1.2.3-54-g00ecf