<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    hi,<br>
    <br>
    after trying a lot i still suffer the issue and when this happens i
    see the below constantly flooding the cli<br>
    <br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
    tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
    returned -1<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
    tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
    tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
    returned -1<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
    tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
    tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
    returned -1<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
    tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
    tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
    returned -1<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
    tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
    tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
    returned -1<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport.c:2864
    tport_recv_event() tport_recv_event(00000006A25BB0C0)<br>
    ..\..\sofia-sip\libsofia-sip-ua\tport\tport_type_tls.c:434
    tport_tls_recv() tport_type_tls(00000006A25BB0C0): tls_read()
    returned -1<br>
    <br>
    <br>
    sorry for double posting, sent it to the wrong thread earlier<br>
    <br>
    <div class="moz-signature">
      <style>
body {
  font-family: Verdana, sans-serif;
  font-size: 0.8em;
  color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
p.footr { font-family: "Trebuchet MS", Verdana, sans-serif; margin:0in; margin-bottom:.0001pt; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
  width: 100%;
  height: 1px;
  background: #ccc;
  border: 0;
}
</style>Regards,<br>
      Bipin<br>
      <br>
      <br>
      <hr>
    </div>
    <div class="moz-cite-prefix">-------- Original Message --------<br>
      Subject: Re: [Freeswitch-users] Sofia stops responding after a few
      days<br>
      From: Ryan Harris <a class="moz-txt-link-rfc2396E" href="mailto:ryharris@airmail.cc"><ryharris@airmail.cc></a><br>
      To: <a class="moz-txt-link-abbreviated" href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a><br>
      Date: 12/22/2017, 8:55:42 PM<br>
    </div>
    <blockquote type="cite"
      cite="mid:8a89ffbd-db08-1931-db1e-78b9e6b392e5@airmail.cc">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p> Hello,<br>
        <br>
        This comment in the default sip_profiles/internal.xml has caught
        my eye in the past: <a class="moz-txt-link-freetext"
href="https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/conf/vanilla/sip_profiles/internal.xml#63-82"
          moz-do-not-send="true">https://freeswitch.org/stash/projects/FS/repos/freeswitch/browse/conf/vanilla/sip_profiles/internal.xml#63-82</a><br>
        <br>
        Maybe you can enable the watchdog and see if you can get a
        useful core dump.<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 12/22/2017 10:09 AM, Bipin Patel
        wrote:<br>
      </div>
      <blockquote type="cite"
        cite="mid:1607ec61170.279b.b07ebdf329620b8089087c7205b03f01@xbipin.com">
        <!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
        <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;
        color:black;}
h1
        {mso-style-priority:9;
        mso-style-link:"Título 1 Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:14.5pt;
        font-family:"Trebuchet MS",sans-serif;
        color:black;}
h2
        {mso-style-priority:9;
        mso-style-link:"Título 2 Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:13.0pt;
        font-family:"Trebuchet MS",sans-serif;
        color:black;}
h3
        {mso-style-priority:9;
        mso-style-link:"Título 3 Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:13.0pt;
        font-family:"Trebuchet MS",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#2A5685;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#2A5685;
        text-decoration:underline;}
span.Ttulo1Car
        {mso-style-name:"Título 1 Car";
        mso-style-priority:9;
        mso-style-link:"Título 1";
        font-family:"Calibri Light",sans-serif;
        color:#2E74B5;}
span.Ttulo2Car
        {mso-style-name:"Título 2 Car";
        mso-style-priority:9;
        mso-style-link:"Título 2";
        font-family:"Calibri Light",sans-serif;
        color:#2E74B5;}
span.Ttulo3Car
        {mso-style-name:"Título 3 Car";
        mso-style-priority:9;
        mso-style-link:"Título 3";
        font-family:"Calibri Light",sans-serif;
        color:#1F4D78;}
p.footr, li.footr, div.footr
        {mso-style-name:footr;
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Trebuchet MS",sans-serif;
        color:black;}
span.EstiloCorreo21
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
        <div style="color: black;">
          <div style="color: black;">
            <p style="margin: 0 0 1em 0; color: black;">Hi,</p>
            <p style="margin: 0 0 1em 0; color: black;">Thanks for the
              reply but in my case the server already has 8gb of ram and
              it's not at all busy and plus this instance of fs hardly
              has less than 10 registrations at any given time.<br>
            </p>
          </div>
          <div style="color: black;">
            <p style="color: black; font-size: 10pt; font-family: Arial,
              sans-serif; margin: 10pt 0;">On December 22, 2017 12:53:04
              PM Miguel Jesús López Valverde <a
                class="moz-txt-link-rfc2396E"
                href="mailto:mjlopez@smartic.es" moz-do-not-send="true"><mjlopez@smartic.es></a>
              wrote:</p>
            <blockquote type="cite" class="gmail_quote" style="margin: 0
              0 0 0.75ex; border-left: 1px solid #808080; padding-left:
              0.75ex;">
              <div class="WordSection1">
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
                    lang="EN-US">I had similar problems with FS
                    installed under an Amazon EFS instance. When FS did
                    not attend registration requests and executed the
                    "sofia profile internal restart" command, it did not
                    load the profile and it no longer appeared before
                    the "sofia status" query.<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
                    lang="EN-US"><o:p> </o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"
                    lang="EN-US">I checked that this instance was short
                    of ram memory and I changed the instance to a higher
                    one with more memory. </span><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Since
                    then I have not appreciated this problem again.<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US">Receive
                    a greeting.<o:p></o:p></span></p>
                <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
                <div>
                  <div style="border:none;border-top:solid #E1E1E1
                    1.0pt;padding:3.0pt 0cm 0cm 0cm">
                    <p class="MsoNormal"><b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">De:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:windowtext">
                        FreeSWITCH-users [<a
                          class="moz-txt-link-freetext"
                          href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
                          moz-do-not-send="true">mailto:freeswitch-users-bounces@lists.freeswitch.org</a>]
                        <b>En nombre de </b>Bipin Patel<br>
                        <b>Enviado el:</b> viernes, 22 de diciembre de
                        2017 7:46<br>
                        <b>Para:</b> FreeSWITCH Users Help <a
                          class="moz-txt-link-rfc2396E"
                          href="mailto:freeswitch-users@lists.freeswitch.org"
                          moz-do-not-send="true"><freeswitch-users@lists.freeswitch.org></a><br>
                        <b>Asunto:</b> [Freeswitch-users] Sofia stops
                        responding after a few days<o:p></o:p></span></p>
                  </div>
                </div>
                <p class="MsoNormal"><o:p> </o:p></p>
                <p class="MsoNormal" style="margin-bottom:12.0pt"><span
style="font-size:10.0pt;font-family:"Arial",sans-serif">hi,<br>
                    <br>
                    I have 2 instances of FS running on a single windows
                    box, first instance uses normal sip UDP profiles
                    mainly used for routing calls to carriers and its
                    running as a service since a few months without any
                    issues. The second instance runs a sip TLS profile
                    and accepts inbound registrations and forwards calls
                    in sip UDP ahead, it uses xml_curl for directory
                    users but the problem is every 2-3 days the inbound
                    TLS profile stops responding to registrations, and
                    when that happens i cant even stop and restart the
                    service, have to kill it and start again. FS_CLI
                    works but doesnt show any error, at first i though
                    it could be the xml_curl causing the issue but later
                    realized it never sends any requests when sofia
                    stops responding.<br>
                    <br>
                    i have been banging my head from the past week or so
                    but not able to find the cause, could any1 help in
                    guiding me what to check when this happens so can
                    find the root cause, im using commercial certs for
                    TLS and when its running there r no issues other
                    than sofia stops responding every few days, it
                    happens at random times.<br>
                    <br>
                  </span><o:p></o:p></p>
                <div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt">-- <br>
                    Regards,<br>
                    Bipin<br>
                    <br>
                    <o:p></o:p></p>
                  <div class="MsoNormal" style="text-align:center"
                    align="center">
                    <hr size="1" align="center" width="100%"></div>
                </div>
              </div>
              <div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
                <table style="border-top: 1px solid #D3D4DE;">
                  <tbody>
                    <tr>
                      <td style="width: 55px; padding-top: 18px;"><a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                          target="_blank" moz-do-not-send="true"><img
src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-round-orange-animated-no-repeat-v1.gif"
                            alt="" style="width: 46px; height: 29px;"
                            moz-do-not-send="true" height="29"
                            width="46"></a></td>
                      <td style="width: 470px; padding-top: 17px; color:
                        #41424e; font-size: 13px; font-family: Arial,
                        Helvetica, sans-serif; line-height: 18px;">Libre
                        de virus. <a
href="https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient"
                          target="_blank" style="color: #4453ea;"
                          moz-do-not-send="true">www.avast.com</a> </td>
                    </tr>
                  </tbody>
                </table>
                <a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"
                  width="1" height="1" moz-do-not-send="true"> </a></div>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a class="aqm-autolink aqm-autowrap"
                href="mailto:consulting%40freeswitch.org"
                moz-do-not-send="true">consulting@freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.freeswitchsolutions.com"
                moz-do-not-send="true">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://confluence.freeswitch.org"
                moz-do-not-send="true">http://confluence.freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.cluecon.com" moz-do-not-send="true">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a class="aqm-autolink aqm-autowrap"
                href="mailto:FreeSWITCH-users%40lists.freeswitch.org"
                moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a class="aqm-autolink aqm-autowrap"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a class="aqm-autolink aqm-autowrap"
                href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a></blockquote>
          </div>
        </div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org" moz-do-not-send="true">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com" moz-do-not-send="true">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org" moz-do-not-send="true">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com" moz-do-not-send="true">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org" moz-do-not-send="true">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" moz-do-not-send="true">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org" moz-do-not-send="true">http://www.freeswitch.org</a></pre>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>