Merge commit 'martins/master'
[metze/ctdb/wip.git] / config / events.d / 60.nfs
index 15c2b899c1b5411d2b329f6521e633e7717244d9..6acc8897a2582c1132bd0a140b69406809f97537 100755 (executable)
@@ -6,6 +6,7 @@ start_nfs() {
        /bin/mkdir -p $CTDB_BASE/state/statd/ip
        startstop_nfs stop
        startstop_nfs start
+       echo 1 > /proc/sys/net/ipv4/tcp_tw_recycle
 }
 
 . $CTDB_BASE/functions
@@ -47,6 +48,8 @@ case "$1" in
            exit 0
        fi
 
+       update_tickles 2049
+
        # check that statd responds to rpc requests
        # if statd is not running we try to restart it
        rpcinfo -u localhost 100024 1 > /dev/null || {