explain kernel settings that need changing

This commit is contained in:
Matthias Radestock committed 2015-04-08 18:33:39 +01:00
1 parent 74dae2abb4
commit ec30bdaf3d
1 file changed
+10
+10
View File
@@ -1,6 +1,16 @@
#!/bin/bash
set -e
# You may need to adjust
# echo 4096 >/proc/sys/net/ipv4/neigh/default/gc_thresh3
# where the number is greater than NUM_WEAVES*(NUM_WEAVES-1) plus some
# fudge.
#
# Without that, some connections between the weaves may fail to get
# established, and networking on the host in general becomes
# broken. There will also be some "net_ratelimit: nnn callbacks
# suppressed" messages in the syslog.
START=${FIRST_WEAVE:-1}
COUNT=${NUM_WEAVES:-28}
FINISH=$((START+COUNT-1))