<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hello,</p>
    <p>these errors do not indicate a crash, but unability to read due
      to low available memory. Did you get a crash (kamailio stopped)?
      If yes, any core file from where you can extract the backtrace?</p>
    <p>Anyhow, as hint, if you use a lot of tls, increase the size for
      shared memory, it is needed a lot there.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 10.10.17 16:32, Andrew Paul wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAMX4_Qk3b0ZeNroLkzzh1r=Vtw+ddJnStLbsqJUJ82i_16Vq8w@mail.gmail.com">
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>We were using kamailio 4.4.5 and we enabled only for
          webrtc.</div>
        <div><br>
        </div>
        <div>We were observing two memory crashed in last two weeks. </div>
        <div><br>
        </div>
        <div>
          <div>Oct 10 01:03:03 webrtc /usr/sbin/kamailio[18002]: ERROR:
            <core> [tcp_read.c:1321]: tcp_read_req(): ERROR:
            tcp_read_req: error reading - c: 0x7f21ea8f6198 r:
            0x7f21ea8f6218</div>
          <div>Oct 10 01:03:04 webrtc /usr/sbin/kamailio[18003]: ERROR:
            tls [tls_server.c:190]: tls_complete_init(): tls: ssl bug
            #1491 workaround: not enough memory for safe operation:
            shm=9926856 threshold1=9961472</div>
          <div>Oct 10 01:03:04 webrtc /usr/sbin/kamailio[18003]: ERROR:
            <core> [tcp_read.c:1321]: tcp_read_req(): ERROR:
            tcp_read_req: error reading - c: 0x7f21ea8f6198 r:
            0x7f21ea8f6218</div>
          <div>Oct 10 01:03:05 webrtc /usr/sbin/kamailio[18004]: ERROR:
            tls [tls_server.c:190]: tls_complete_init(): tls: ssl bug
            #1491 workaround: not enough memory for safe operation:
            shm=9926856 threshold1=9961472</div>
          <div>Oct 10 01:03:05 webrtc /usr/sbin/kamailio[18004]: ERROR:
            <core> [tcp_read.c:1321]: tcp_read_req(): ERROR:
            tcp_read_req: error reading - c: 0x7f21ea8f6198 r:
            0x7f21ea8f6218</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Is there any known issue for tls module in kamailio_4.4.5
          ?. We are using default 64MB for shared memory and 8MB for
          private memory. Do we need to increase this ?.</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div><br>
        </div>
        <div>Andrew</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
Kamailio World Conference - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>