From 53e367326b3ea78b2a1360c4cd140cdd1bdb8a8b Mon Sep 17 00:00:00 2001 From: Justin Cormack Date: Fri, 28 Oct 2016 22:24:28 +0100 Subject: [PATCH] Increase neighbor cache threshold values Needed for larger clusters. Needed for https://github.com/docker/editions/issues/377 Signed-off-by: Justin Cormack --- alpine/etc/sysctl.d/01-moby.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alpine/etc/sysctl.d/01-moby.conf b/alpine/etc/sysctl.d/01-moby.conf index 7120715d3..14df19ddd 100644 --- a/alpine/etc/sysctl.d/01-moby.conf +++ b/alpine/etc/sysctl.d/01-moby.conf @@ -1,6 +1,9 @@ vm.max_map_count = 262144 vm.overcommit_memory = 1 net.core.somaxconn = 1024 +net.ipv4.neigh.default.gc_thresh1 = 30000 +net.ipv4.neigh.default.gc_thresh2 = 32000 +net.ipv4.neigh.default.gc_thresh3 = 32768 fs.aio-max-nr = 1048576 fs.inotify.max_user_watches = 524288 fs.file-max = 524288