<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>Hi,</tt><br>
      <br>
      <tt>Please apply the updated patch (remove the existing one first):<br>
            <a moz-do-not-send="true" class="moz-txt-link-freetext"
          href="https://gist.github.com/bogdan-iancu/851b092a1f457a19a463">https://gist.github.com/bogdan-iancu/851b092a1f457a19a463</a><br>
        <br>
        Hopefully this new one will point out the source of the problem.<br>
        <br>
        Regards,</tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 14.10.2014 04:51, <a class="moz-txt-link-abbreviated" href="mailto:zhouxiaoqiang.mstech@gmail.com">zhouxiaoqiang.mstech@gmail.com</a> wrote:<br>
    </div>
    <blockquote cite="mid:201410140951152215038@gmail.com" type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20141014094308613390 { }body { font-size: 10.5pt; font-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style>
      <div><span></span>Hi:</div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">     I
          execute that patch . </span></div>
      <div>     the sipp beging run at  <span style="font-size: 10.5pt;
          line-height: 1.5; background-color: window;">Oct 13 19:07:01 </span></div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">     </span><span
          style="background-color: rgba(0, 0, 0, 0); font-size: 10.5pt;
          line-height: 1.5;">The following is a log fragment.</span></div>
      <div><br>
      </div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">Oct 13
          19:07:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 19:27:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 19:29:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 19:37:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 19:55:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 20:06:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 20:25:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 20:30:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 20:49:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 20:50:01 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 20:57:02 localhost /usr/sbin/opensips[24352]:
          ERROR:mi_fifo:mi_fifo_reply: fifo_error: write error: Broken
          pipe<br>
          Oct 13 21:14:12 localhost /usr/sbin/opensips[24437]:
          ERROR:core:branch_builder: writing the label failed, remaining
          size is 0<br>
          Oct 13 21:14:12 localhost /usr/sbin/opensips[24437]:
          ERROR:tm:pre_print_uac_request: branch computation failed<br>
          Oct 13 21:14:12 localhost /usr/sbin/opensips[24437]:
          ERROR:tm:t_forward_nonack: failure to add branches<br>
          Oct 13 21:14:19 localhost /usr/sbin/opensips[24463]:
          ERROR:core:branch_builder: writing the label failed, remaining
          size is 0<br>
          Oct 13 21:14:19 localhost /usr/sbin/opensips[24463]:
          ERROR:tm:pre_print_uac_request: branch computation failed<br>
          Oct 13 21:14:19 localhost /usr/sbin/opensips[24463]:
          ERROR:tm:t_forward_nonack: failure to add branches</span></div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">...</span></div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">...</span></div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">...</span></div>
      <div><span style="background-color: rgba(0, 0, 0, 0);">...</span></div>
      <span style="background-color: rgba(0, 0, 0, 0);">Oct 13 23:32:52
        localhost /usr/sbin/opensips[24475]: ERROR:core:branch_builder:
        writing the label failed, remaining size is 0<br>
        Oct 13 23:32:52 localhost /usr/sbin/opensips[24475]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:52 localhost /usr/sbin/opensips[24475]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:52 localhost /usr/sbin/opensips[24434]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:52 localhost /usr/sbin/opensips[24434]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:52 localhost /usr/sbin/opensips[24434]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:54 localhost /usr/sbin/opensips[24442]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:54 localhost /usr/sbin/opensips[24442]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:54 localhost /usr/sbin/opensips[24442]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:54 localhost /usr/sbin/opensips[24397]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:54 localhost /usr/sbin/opensips[24397]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:54 localhost /usr/sbin/opensips[24397]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:55 localhost /usr/sbin/opensips[24447]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:55 localhost /usr/sbin/opensips[24447]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:55 localhost /usr/sbin/opensips[24447]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:55 localhost /usr/sbin/opensips[24459]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:55 localhost /usr/sbin/opensips[24459]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:55 localhost /usr/sbin/opensips[24459]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:57 localhost /usr/sbin/opensips[24458]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:57 localhost /usr/sbin/opensips[24458]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:57 localhost /usr/sbin/opensips[24458]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:58 localhost /usr/sbin/opensips[24485]:
        CRITICAL:core:utimer_ticker: utimer handler &lt;tm-utimer&gt;
        lasted (180000 us) for more than timer tick (100000 us) -&gt;
        potential timer shifting<br>
        Oct 13 23:32:59 localhost /usr/sbin/opensips[24359]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:59 localhost /usr/sbin/opensips[24359]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:59 localhost /usr/sbin/opensips[24359]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:32:59 localhost /usr/sbin/opensips[24452]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:32:59 localhost /usr/sbin/opensips[24452]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:32:59 localhost /usr/sbin/opensips[24452]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:33:00 localhost /usr/sbin/opensips[24471]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:33:00 localhost /usr/sbin/opensips[24471]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:33:00 localhost /usr/sbin/opensips[24471]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:33:00 localhost /usr/sbin/opensips[24367]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:33:00 localhost /usr/sbin/opensips[24367]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:33:00 localhost /usr/sbin/opensips[24367]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:33:02 localhost /usr/sbin/opensips[24364]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0<br>
        Oct 13 23:33:02 localhost /usr/sbin/opensips[24364]:
        ERROR:tm:pre_print_uac_request: branch computation failed<br>
        Oct 13 23:33:02 localhost /usr/sbin/opensips[24364]:
        ERROR:tm:t_forward_nonack: failure to add branches<br>
        Oct 13 23:33:02 localhost /usr/sbin/opensips[24413]:
        ERROR:core:branch_builder: writing the label failed, remaining
        size is 0</span>
      <div><br>
      </div>
      <div><br>
        <div><br>
        </div>
        <hr style="WIDTH: 210px; HEIGHT: 1px" size="1" color="#b5c4df"
          align="left">
        <div><span>
            <div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE:
              10pt">
              <div><a class="moz-txt-link-abbreviated" href="mailto:zhouxiaoqiang.mstech@gmail.com">zhouxiaoqiang.mstech@gmail.com</a></div>
            </div>
          </span></div>
        <blockquote style="margin-top: 0px; margin-bottom: 0px;
          margin-left: 0.5em;">
          <div> </div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px;
              FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000;
              BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP:
              8px">
              <div><b>From:</b> <a moz-do-not-send="true"
                  href="mailto:bogdan@opensips.org">Bogdan-Andrei Iancu</a></div>
              <div><b>Date:</b> 2014-10-13 15:44</div>
              <div><b>To:</b> <a moz-do-not-send="true"
                  href="mailto:zhouxiaoqiang.mstech@gmail.com">zhouxiaoqiang.mstech@gmail.com</a>;
                <a moz-do-not-send="true"
                  href="mailto:users@lists.opensips.org">users@lists.opensips.org</a></div>
              <div><b>Subject:</b> Re: [OpenSIPS-Users] branch
                computation failed</div>
            </div>
          </div>
          <div>
            <div class="FoxDiv20141014094308613390">
              <div class="moz-cite-prefix"><tt>Please apply this patch:<br>
                      <a moz-do-not-send="true"
                    class="moz-txt-link-freetext"
                    href="https://gist.github.com/bogdan-iancu/851b092a1f457a19a463">https://gist.github.com/bogdan-iancu/851b092a1f457a19a463</a><br>
                  <br>
                  Regards,<br>
                </tt>
                <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
                On 13.10.2014 10:35, <a moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:zhouxiaoqiang.mstech@gmail.com">zhouxiaoqiang.mstech@gmail.com</a>
                wrote:<br>
              </div>
              <blockquote cite="mid:201410131535093743451@gmail.com"
                type="cite" style="margin-top: 0px; margin-bottom: 0px;
                margin-left: 0.5em;">
                <div><span></span>Hi <span style="font-size: 10.5pt;
                    line-height: 1.5; background-color: window;">Bogdan:</span></div>
                <div>    I am glad to do that. </div>
                <div>    please,  give me your patch.</div>
                <div><br>
                </div>
                <hr style="width: 210px; height: 1px;" size="1"
                  color="#b5c4df" align="left">
                <div><span>
                    <div style="MARGIN: 10px; FONT-FAMILY: verdana;
                      FONT-SIZE: 10pt">
                      <div><a moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:zhouxiaoqiang.mstech@gmail.com">zhouxiaoqiang.mstech@gmail.com</a></div>
                    </div>
                  </span></div>
                <blockquote style="margin-top: 0px; margin-bottom: 0px;
                  margin-left: 0.5em;">
                  <div> </div>
                  <div style="border:none;border-top:solid #B5C4DF
                    1.0pt;padding:3.0pt 0cm 0cm 0cm">
                    <div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px;
                      FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000;
                      BACKGROUND: #efefef; PADDING-BOTTOM: 8px;
                      PADDING-TOP: 8px">
                      <div><b>From:</b> <a moz-do-not-send="true"
                          href="mailto:bogdan@opensips.org">Bogdan-Andrei
                          Iancu</a></div>
                      <div><b>Date:</b> 2014-10-13 15:27</div>
                      <div><b>To:</b> <a moz-do-not-send="true"
                          href="mailto:users@lists.opensips.org">OpenSIPS
                          users mailling list</a>; <a
                          moz-do-not-send="true"
                          href="mailto:zhouxiaoqiang.mstech@gmail.com">zhouxiaoqiang.mstech</a></div>
                      <div><b>Subject:</b> Re: [OpenSIPS-Users] branch
                        computation failed</div>
                    </div>
                  </div>
                  <div>
                    <div>Hi,</div>
                    <div> </div>
                    <div>That is really strange - If I prepare a small
                      patch to print some logs </div>
                    <div>to understand why the t_calc_branch() fails, it
                      ok with you to give it a </div>
                    <div>try ?</div>
                    <div> </div>
                    <div>Regards,</div>
                    <div> </div>
                    <div>Bogdan-Andrei Iancu</div>
                    <div>OpenSIPS Founder and Developer</div>
                    <div><a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
                        href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></div>
                    <div> </div>
                    <div>On 10.10.2014 05:08, chow wrote:</div>
                    <div>&gt; Hi Bogdan:</div>
                    <div>&gt;    the param of tm :</div>
                    <div>&gt;    loadmodule "tm.so"</div>
                    <div>&gt;   modparam("tm", "fr_timer", 5)</div>
                    <div>&gt;   modparam("tm", "fr_inv_timer", 30)</div>
                    <div>&gt;   modparam("tm",
                      "restart_fr_on_each_reply", 0)</div>
                    <div>&gt;   modparam("tm", "onreply_avp_mode", 1)</div>
                    <div>&gt;</div>
                    <div>&gt;   the sipp call rate is 3000 caps.</div>
                    <div>&gt;   the opensips version is 1.10.1</div>
                    <div>&gt;   the opensips memory config :
                      S_MEMORY=4096, P_MEMORY=128</div>
                    <div>&gt;</div>
                    <div>&gt;</div>
                    <div>&gt;</div>
                    <div>&gt;</div>
                    <div>&gt; --</div>
                    <div>&gt; View this message in context:
                      <a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
href="http://opensips-open-sip-server.1449251.n2.nabble.com/branch-computation-failed-tp7593895p7593931.html">http://opensips-open-sip-server.1449251.n2.nabble.com/branch-computation-failed-tp7593895p7593931.html</a></div>
                    <div>&gt; Sent from the OpenSIPS - Users mailing
                      list archive at Nabble.com.</div>
                    <div>&gt;</div>
                    <div>&gt;
                      _______________________________________________</div>
                    <div>&gt; Users mailing list</div>
                    <div>&gt; <a moz-do-not-send="true"
                        class="moz-txt-link-abbreviated"
                        href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a></div>
                    <div>&gt; <a moz-do-not-send="true"
                        class="moz-txt-link-freetext"
                        href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></div>
                    <div>&gt;</div>
                    <div> </div>
                  </div>
                </blockquote>
              </blockquote>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>