<div dir="ltr">Thanks Daniel. We have increase shm memory to 1024 from 64 and private memory to 64 from 8MB.<div><br></div><div>We will closely monitor and will update the thread if encounter any issue.</div><div><br></div><div>Regards</div><div><br>Varghese Paul </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 10, 2017 at 10:04 PM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div 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><div><div class="h5">
    <br>
    <div class="m_3755665707202213756moz-cite-prefix">On 10.10.17 16:32, Andrew Paul wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <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="m_3755665707202213756mimeAttachmentHeader"></fieldset>
      <br>
      </div></div><pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_3755665707202213756moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="m_3755665707202213756moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/<wbr>cgi-bin/mailman/listinfo/sr-<wbr>users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre class="m_3755665707202213756moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_3755665707202213756moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a class="m_3755665707202213756moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - <a class="m_3755665707202213756moz-txt-link-abbreviated" href="http://www.asipto.com" target="_blank">www.asipto.com</a>
Kamailio World Conference - <a class="m_3755665707202213756moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank">www.kamailioworld.com</a></pre>
  </font></span></div>

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