<div dir="ltr"><div><div><div>Hi,</div><div><br></div><div>It was just SSL connections.<br></div>I needed to restart kamailio, otherwise it just stopped to work.</div><div><br></div><div>kamailio 4.4.6 (x86_64/linux) 75f13d, I built from git.<br></div><div><br></div>TCP connection lifetime was 124 seconds.<br></div><div><br></div><div>tcp_max_connections=24000<br></div><div><br></div><div>I switched to debian 8 and now it works.</div><div><br></div>With kind regards,<br><div class="gmail_extra"><br clear="all"><div><div class="gmail-m_6410829835731536432gmail_signature"><div dir="ltr">Jurijs<br></div></div></div>
<br><div class="gmail_quote">On Thu, Sep 28, 2017 at 9:57 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>what is the kamailio version?</p>
    <p>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.</p>
    <p>Did you have to restart or the connections were ended after a
      while? Being just a temporary pike ...<br>
    </p>
    <p>What is the tcp connection lifetime value you use?<br>
    </p>
    <p>Might help a bit, you can increase the number of max tcp
      connections in kamailio (default is 2024).</p>
      -
    <a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-freetext" href="https://www.kamailio.org/wiki/cookbooks/5.0.x/core#tcp_max_connections" target="_blank">https://www.kamailio.org/wiki/<wbr>cookbooks/5.0.x/core#tcp_max_c<wbr>onnections</a><br>
    <br>
    Cheers,<br>
    Daniel<div><div class="gmail-m_6410829835731536432h5"><br>
    <br>
    <div class="gmail-m_6410829835731536432m_-2779390919679536724moz-cite-prefix">On 28.09.17 07:51, Jurijs Ivolga wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="gmail-m_6410829835731536432h5">
      <div dir="ltr">
        <div>Hi Guys,<br>
          <br>
        </div>
        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.<br>
        <div>
          <div><br>
          </div>
          <div>Just curious is there anybody who are using Debian
            Stretch in production without issues?<br>
          </div>
          <div><br clear="all">
            <div>
              <div class="gmail-m_6410829835731536432m_-2779390919679536724gmail_signature">
                <div dir="ltr">Jurijs<br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="gmail-m_6410829835731536432m_-2779390919679536724mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="gmail-m_6410829835731536432HOEnZb"><font color="#888888">
</font></span></pre><span class="gmail-m_6410829835731536432HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="gmail-m_6410829835731536432HOEnZb"><font color="#888888">
    <br>
    <pre class="gmail-m_6410829835731536432m_-2779390919679536724moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - <a class="gmail-m_6410829835731536432m_-2779390919679536724moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </font></span></div>

</blockquote></div><br></div></div>