<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Daniel,</p>
    <p>Thanks for the tip, recompiled and got a new trace</p>
    <p><a class="moz-txt-link-freetext" href="https://pastebin.com/NxCXA1gT">https://pastebin.com/NxCXA1gT</a></p>
    <p>Not sure what happened, but sometimes running kamctl trap
      restores Kamailio functionality to accept connections.<br>
    </p>
    <p>Thanks in advance!<br>
    </p>
    <div class="moz-cite-prefix">Le 29/11/2022 à 08:07,
      Daniel-Constantin Mierla a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:0d3e7097-0262-7851-6248-b0e0c2213dca@gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Hello,</p>
      <p>is libssl/libcrypto compiled/installed with debugging symbols?
        They are not shown in the backtrace.</p>
      <p>Cheers,<br>
        Daniel<br>
      </p>
      <div class="moz-cite-prefix">On 28.11.22 17:38, Igor Olhovskiy
        wrote:<br>
      </div>
      <blockquote type="cite"
cite="mid:CAJTkRNv8B=Hzt8dKPkDa8OrnU07ftz_Wrut09Mqfa6B5tM4mGg@mail.gmail.com">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div dir="ltr">
          <div>Hello,</div>
          <div><br>
          </div>
          <div>I'm continuing investigations on Kamailio and stress
            test. Got it again in the state where it's not accepting any
            new TCP/TLS connections (UDP still works though), but all
            looks good from lsof/netnstat part, like system is not
            reporting any zombie connections. Restart of Kamailio
            process helps<br>
          </div>
          <div><br>
          </div>
          <div>This time I got output of kamctl trap<br>
          </div>
          <div><br>
          </div>
          <div>Put it here: <a href="https://pastebin.com/iYrNZ8U9"
              moz-do-not-send="true" class="moz-txt-link-freetext">https://pastebin.com/iYrNZ8U9</a>
            <br>
          </div>
          <div><br>
          </div>
          <div>kamailio --version<br>
            version: kamailio 5.6.2 (x86_64/linux) 54a9c1<br>
            flags: USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
            DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MMAP, PKG_MALLOC,
            Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX,
            FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER,
            USE_NAPTR, USE_DST_BLOCKLIST, HAVE_RESOLV_RES<br>
            ADAPTIVE_WAIT_LOOPS 1024, MAX_RECV_BUFFER_SIZE 262144,
            MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB<br>
            poll method support: poll, epoll_lt, epoll_et, sigio_rt,
            select.<br>
            id: 54a9c1 <br>
            compiled on 14:01:01 Oct 18 2022 with gcc 4.8.5</div>
          <div><br>
          </div>
          <div>It's statically linked with tlsa pointing on
            openssl-1.1.1q</div>
          <div><br>
          </div>
          <div>Settings related to TLS are:</div>
          <div><br>
          </div>
          <div>fork=yes<br>
            children=4<br>
            tcp_children=12<br>
            enable_tls=yes<br>
            <br>
            tcp_accept_no_cl=yes<br>
            tcp_max_connections=63536<br>
            tls_max_connections=63536<br>
            tcp_accept_aliases=no<br>
            tcp_async=yes<br>
            tcp_connect_timeout=10<br>
            tcp_conn_wq_max=63536<br>
            tcp_crlf_ping=yes<br>
            tcp_delayed_ack=yes<br>
            tcp_fd_cache=yes<br>
            tcp_keepalive=yes<br>
            tcp_keepcnt=3<br>
            tcp_keepidle=30<br>
            tcp_keepintvl=10<br>
            tcp_linger2=30<br>
            tcp_rd_buf_size=80000<br>
            tcp_send_timeout=10<br>
            tcp_wq_blk_size=2100<br>
            tcp_wq_max=10485760<br>
            open_files_limit=63536<br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>Can you please help to read gdb output and understand
            where I missed in config? <br>
          </div>
          <div><br>
          </div>
          <div>Thanks in advance!<br>
          </div>
          <div><br>
          </div>
          <div><br>
          </div>
          <div>-- <br>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div dir="ltr">Best regards,
                <div>Ihor (Igor)<br>
                </div>
              </div>
            </div>
          </div>
        </div>
        <br>
        <fieldset class="moz-mime-attachment-header"></fieldset>
        <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
<a class="moz-txt-link-abbreviated moz-txt-link-freetext" href="mailto:sr-users@lists.kamailio.org" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com" moz-do-not-send="true">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" moz-do-not-send="true">www.linkedin.com/in/miconda</a></pre>
    </blockquote>
  </body>
</html>