[sr-dev] [kamailio/kamailio] t_replicate transaction failures keeps transaction in memory forever (#1220)

Olle E. Johansson notifications at github.com
Mon Sep 4 09:25:45 CEST 2017


No strange tm modparams:

```
# ----- 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)
```
After the TCP problems started, we added som tcp params to the config, just to verify the settings. Mostly default.

```
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

```

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1220#issuecomment-326885930
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20170904/1bc77cbf/attachment.html>


More information about the sr-dev mailing list