Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-04-01 Thread Daniel-Constantin Mierla
Closed #1881. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1881#event-2242443108___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-04-01 Thread Daniel-Constantin Mierla
Reopen if still an issue after keepalive settings. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1881#issuecomment-478475500___ Kamaili

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-22 Thread Daniel-Constantin Mierla
Was the hint from previous comment fixing it? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1881#issuecomment-475611122___ Kamailio (SE

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-08 Thread Daniel-Constantin Mierla
Tune the tcp keepalive parameters to shorten the lifetime duration of these sockets -- there are couple of them, see: * https://www.kamailio.org/wiki/cookbooks/devel/core#tcp_keepalive Also, you can tune at OS level with sysctl. The OS value can be seen in the file: ``` /proc/sys/net/ipv4/tc

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-05 Thread kvrban
> Try by setting this core parameter: > > * https://www.kamailio.org/wiki/cookbooks/devel/core#tcp_linger2 Tried out just now with "tcp_linger2=5" and restarted Kamailio. No effect. Also documentation say it for FIN_WAIT2 not for CLOSE_WAIT state. -- You are receiving this because you are

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-05 Thread Daniel-Constantin Mierla
Try by setting this core parameter: * https://www.kamailio.org/wiki/cookbooks/devel/core#tcp_linger2 -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1881#issuecomment-469716054__

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-05 Thread kvrban
> I have see similar behavior on CentOS with default network initialization > subsystem. > After I reconfigured to use `systemd-networkd` instead default network > initialization, then i not see more "CLOSE_WAIT". > > Could you reconfigure network using `systemd-networkd` and then retest. Hey s

Re: [sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-05 Thread sergey-safarov
I have see similar behavior on CentOS with default network initialization subsystem. After I reconfigured to use `systemd-networkd` instead default network initialization, then i not see more "CLOSE_WAIT". Could you reconfigure network using `systemd-networkd` and then retest. -- You are recei

[sr-dev] [kamailio/kamailio] Frequently TCP/TLS sessions remain in CLOSE_WAIT (#1881)

2019-03-05 Thread kvrban
### Description On our setup with Kamailio 5.2.1 with users connected via TLS. i see frequently TCP/TLS sessions remain in CLOSE_WAIT: netstat -ntp |grep CLOSE tcp 238 0 172.17.217.10:5061 xxx.xxx.xxx.218:52613 CLOSE_WAIT 117912/kamailio tcp 4681 0 172.17.2