Hi,

It was just SSL connections.
I needed to restart kamailio, otherwise it just stopped to work.

kamailio 4.4.6 (x86_64/linux) 75f13d, I built from git.

TCP connection lifetime was 124 seconds.

tcp_max_connections=24000

I switched to debian 8 and now it works.

With kind regards,

Jurijs

On Thu, Sep 28, 2017 at 9:57 AM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:

Hello,

what is the kamailio version?

Were these bare tcp or also tls connections? Stretch comes with libssl 1.1 which is a major refactoring and wondering if that can be an effect.

Did you have to restart or the connections were ended after a while? Being just a temporary pike ...

What is the tcp connection lifetime value you use?

Might help a bit, you can increase the number of max tcp connections in kamailio (default is 2024).

  - https://www.kamailio.org/wiki/cookbooks/5.0.x/core#tcp_max_connections

Cheers,
Daniel


On 28.09.17 07:51, Jurijs Ivolga wrote:
Hi Guys,

I recently tried to use Debian Stretch in production and it didn't went well. On load(500k-700k SIP messages per day) I get a problem that at some point there was a pike of CLOSE_WAIT connections(up to 2k of CLOSE_WAIT connections) and no new connections was possible, I tried to figure out where problem is, but I didn't found anything in system or Kamailio logs, Kamailio just stopped to receive traffic via TCP, but UDP continued to work. Test environment where was no load I didn't faced such issue.

Just curious is there anybody who are using Debian Stretch in production without issues?

Jurijs


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - www.asipto.com
Kamailio World Conference - www.kamailioworld.com