Set the SCTP retransmission maximum to 400 ms, 800 is too much.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5177 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
paulc 2012-07-03 14:38:12 +00:00
parent a369fb1dc3
commit f6f01dbc14
1 changed files with 1 additions and 1 deletions

View File

@ -22,4 +22,4 @@ if [ x`id -u` != x0 ]; then
fi
grep -q sctp "$modfile" || echo -e '\n# SCTP must be loaded early for sysctl\nsctp' >> "$modfile"
grep -q 'SCTP tweaking' /etc/sysctl.conf || echo -e '\n# SCTP tweaking for SIGTRAN\nnet.sctp.rto_min=200\nnet.sctp.rto_initial=400\nnet.sctp.rto_max=800\nnet.sctp.hb_interval=5000' >> /etc/sysctl.conf
grep -q 'SCTP tweaking' /etc/sysctl.conf || echo -e '\n# SCTP tweaking for SIGTRAN\nnet.sctp.rto_min=200\nnet.sctp.rto_initial=400\nnet.sctp.rto_max=400\nnet.sctp.hb_interval=5000' >> /etc/sysctl.conf