explain kernel settings that need changing
This commit is contained in:
1 parent
74dae2abb4
commit
ec30bdaf3d
1 file changed
+10
@@ -1,6 +1,16 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
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}
|
START=${FIRST_WEAVE:-1}
|
||||||
COUNT=${NUM_WEAVES:-28}
|
COUNT=${NUM_WEAVES:-28}
|
||||||
FINISH=$((START+COUNT-1))
|
FINISH=$((START+COUNT-1))
|
||||||
|
|||||||
Reference in new issue
Block a user