<p>No strange tm modparams:</p>
<pre><code># ----- tm params -----
# auto-discard branches from previous serial forking leg
modparam("tm", "failure_reply_mode", 3)
# default retransmission timeout: 30sec
modparam("tm", "fr_timer", 30000)
# default invite retransmission timeout after 1xx: 120sec
modparam("tm", "fr_inv_timer", 120000)
modparam("tm", "retr_timer1", 100)
modparam("tm", "retr_timer2", 4000)
</code></pre>
<p>After the TCP problems started, we added som tcp params to the config, just to verify the settings. Mostly default.</p>
<pre><code>tcp_connection_lifetime=3200
tcp_accept_no_cl=yes
# Maximum write queue. If this is reached, the connection is killed.
tcp_conn_wq_max=10000
# Enables keepalive for tcp (sets SO_KEEPALIVE socket option)
tcp_keepalive = yes
# Time before starting to send keepalives, if the connection is idle (TCP_KEEPIDLE socket option). Linux only.
# Seconds
tcp_keepidle = 10
# Number of keepalives sent before dropping the connection (TCP_KEEPCNT socket option). Linux only.
tcp_keepcnt = 20
# Time interval between keepalive probes, when the previous probe failed (TCP_KEEPINTVL socket option). Linux only.
# Seconds
tcp_keepintvl = 20
# Time in seconds after a TCP connection will be closed if it is not available for writing in this
# interval (and Kamailio wants to send something on it). Lower this value for faster detection of broken
# TCP connections. The default value is 10s.
tcp_send_timeout=10
# Number of SYN retransmissions before aborting a connect attempt (see linux tcp(7) TCP_SYNCNT). Linux only.
# Default in LInux seems to be 5, which corresponds to 180 seconds
tcp_syncnt = 2
</code></pre>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/1220#issuecomment-326885930">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AF36ZRQjVSjFivamfDKjqJm2bq0rtgb0ks5se6X4gaJpZM4PC_1r">mute the thread</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZYanb2BMURIIGxW33mZF13vzsuIzks5se6X4gaJpZM4PC_1r.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/kamailio/kamailio/issues/1220#issuecomment-326885930"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/kamailio/kamailio","title":"kamailio/kamailio","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/kamailio/kamailio"}},"updates":{"snippets":[{"icon":"PERSON","message":"@oej in #1220: No strange tm modparams:\r\n\r\n```\r\n# ----- tm params -----\r\n# auto-discard branches from previous serial forking leg\r\nmodparam(\"tm\", \"failure_reply_mode\", 3)\r\n# default retransmission timeout: 30sec\r\nmodparam(\"tm\", \"fr_timer\", 30000)\r\n# default invite retransmission timeout after 1xx: 120sec\r\nmodparam(\"tm\", \"fr_inv_timer\", 120000)\r\nmodparam(\"tm\", \"retr_timer1\", 100)\r\nmodparam(\"tm\", \"retr_timer2\", 4000)\r\n```\r\nAfter the TCP problems started, we added som tcp params to the config, just to verify the settings. Mostly default.\r\n\r\n```\r\ntcp_connection_lifetime=3200\r\ntcp_accept_no_cl=yes\r\n# Maximum write queue. If this is reached, the connection is killed.\r\ntcp_conn_wq_max=10000\r\n# Enables keepalive for tcp (sets SO_KEEPALIVE socket option)\r\ntcp_keepalive = yes\r\n# Time before starting to send keepalives, if the connection is idle (TCP_KEEPIDLE socket option). Linux only.\r\n# Seconds\r\ntcp_keepidle = 10\r\n# Number of keepalives sent before dropping the connection (TCP_KEEPCNT socket option). Linux only.\r\ntcp_keepcnt = 20\r\n# Time interval between keepalive probes, when the previous probe failed (TCP_KEEPINTVL socket option). Linux only.\r\n# Seconds\r\ntcp_keepintvl = 20\r\n# Time in seconds after a TCP connection will be closed if it is not available for writing in this \r\n# interval (and Kamailio wants to send something on it). Lower this value for faster detection of broken \r\n# TCP connections. The default value is 10s.\r\ntcp_send_timeout=10\r\n# Number of SYN retransmissions before aborting a connect attempt (see linux tcp(7) TCP_SYNCNT). Linux only.\r\n# Default in LInux seems to be 5, which corresponds to 180 seconds\r\ntcp_syncnt = 2\r\n\r\n```"}],"action":{"name":"View Issue","url":"https://github.com/kamailio/kamailio/issues/1220#issuecomment-326885930"}}}</script>