From: Ronnie Sahlberg Date: Sat, 20 Oct 2007 20:42:33 +0000 (+1000) Subject: dont set some of the sysctl variables in statd-callout. these are X-Git-Tag: tevent-0.9.20~348^2~2368^2~1 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caad5dc38d790d76f6720b312c1557ec3151a084;p=thirdparty%2Fsamba.git dont set some of the sysctl variables in statd-callout. these are mainly useful for avoiding ack-storms when doing very rapid failover/failback during testing but should not be required in real-world. this gets rid of a lof of annoying messages from the messages file (This used to be ctdb commit 50d289dcce2caa7c7be9b6faa3b38b69c2237038) --- diff --git a/ctdb/config/statd-callout b/ctdb/config/statd-callout index f582a1a8e02..7709df411b0 100755 --- a/ctdb/config/statd-callout +++ b/ctdb/config/statd-callout @@ -50,9 +50,9 @@ case "$1" in # we need these settings to make sure that no tcp connections survive # across a very fast failover/failback - echo 0 > /proc/sys/net/ipv4/tcp_max_tw_buckets - echo 0 > /proc/sys/net/ipv4/tcp_fin_timeout - echo 0 > /proc/sys/net/ipv4/tcp_max_orphans + echo 10 > /proc/sys/net/ipv4/tcp_fin_timeout + #echo 0 > /proc/sys/net/ipv4/tcp_max_tw_buckets + #echo 0 > /proc/sys/net/ipv4/tcp_max_orphans # rebuild the state directory for the local statd to use the correct # state value and to initally send notifications to all clients