<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Agalya,<br>
    <br>
    Before answering, a fast question to you :).<br>
    <br>
    What kind of processing do you in the script for the INVITEs ? is it
    something time consuming, potential blocking like DB queries, DNS,
    rest queries ?<br>
    <br>
    Regards,<br>
    <br>
    <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>
    <div class="moz-cite-prefix">On 30.08.2016 18:42, Ramachandran,
      Agalya (Contractor) wrote:<br>
    </div>
    <blockquote
      cite="mid:57d53198132a4163b637e596a2c89c85@COPDCEX28.cable.comcast.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Times New Roman \,serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New",serif;
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New",serif;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle22
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle23
        {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:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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 class="WordSection1">
        <p class="MsoNormal"><span style="color:blue">Hi Bogdan, <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">In understand why
            these warnings are occurred.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">Yes, I initially
            used the default script with children as 4. With this config
            sending 10 calls at 2cps am getting these warnings
            continuously.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">After that I
            changed the children to 12. And now it’s all good.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">But I have a
            question. When I try to run the load test in opensips 1.11,
            I had children as 1, and I could run like 100 cps.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">Why in the
            opensips 2.1.4 version we are getting this warnings.  What
            has changed between 1.11 and 2.1.4?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">The only way to
            avoid this is to keep increasing the children?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">In the new
            opensips in order to run 100cps I should increase my
            children to somewhere around 150?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:blue">Regards,<br>
            Agalya<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
                style="color:windowtext"> Bogdan-Andrei Iancu
                [<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
                <br>
                <b>Sent:</b> Tuesday, August 30, 2016 6:20 AM<br>
                <b>To:</b> Ramachandran, Agalya (Contractor)
                <a class="moz-txt-link-rfc2396E" href="mailto:Agalya_Ramachandran@comcast.com">&lt;Agalya_Ramachandran@comcast.com&gt;</a>; OpenSIPS users
                mailling list <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a><br>
                <b>Subject:</b> Re: [OpenSIPS-Users] Too many warnings
                in opensips log<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
              Agalya,</span></tt><span
            style="font-size:10.0pt;font-family:&quot;Courier
            New&quot;,serif"><br>
            <br>
            <tt>The message that usually pops up first :</tt><br>
            <tt>    WARNING:core:utimer task &lt;tm-utimer&gt; already
              scheduled for....</tt><br>
            <br>
            <tt>tells that the given timer routing is slow (tm-utimer in
              our case) and the previous execution is not completed when
              the next triggering happens. This TM routine is
              responsible for SIP retransmissions.</tt><br>
            <br>
            <tt>The second message </tt><br>
            <tt>    WARNING:core:handle_timer_job: utimer job
              &lt;tm-utimer&gt; has a xxxxx us delay in execution</tt><br>
            <tt>tells how long the timer job spent between being
              scheduled (triggered) and being lunched in execution (the
              2 events happen in different processes).</tt><br>
            <br>
            <tt>In your case, you have 4 processes, one UDP listener and
              you do 2cps ? and you get one of the warnings ? do you use
              the default script ?</tt><br>
            <br>
            <tt>Best regards,</tt><br>
            <br>
          </span><span style="font-size:12.0pt"><o:p></o:p></span></p>
        <pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
        <pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
        <pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
        <div>
          <p class="MsoNormal">On 26.08.2016 16:17, Ramachandran, Agalya
            (Contractor) wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:blue">Yes Bogdan , I
              do get those warnings.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:blue">Regards,<br>
              Agalya</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0in 0in 0in">
              <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
                  style="color:windowtext"> Bogdan-Andrei Iancu [<a
                    moz-do-not-send="true"
                    href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
                  <br>
                  <b>Sent:</b> Thursday, August 25, 2016 5:20 PM<br>
                  <b>To:</b> Ramachandran, Agalya (Contractor) <a
                    moz-do-not-send="true"
                    href="mailto:Agalya_Ramachandran@comcast.com">
                    &lt;Agalya_Ramachandran@comcast.com&gt;</a>;
                  OpenSIPS users mailling list <a
                    moz-do-not-send="true"
                    href="mailto:users@lists.opensips.org">
                    &lt;users@lists.opensips.org&gt;</a><br>
                  <b>Subject:</b> Re: [OpenSIPS-Users] Too many warnings
                  in opensips log</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
                Agalya,</span></tt><span
              style="font-size:10.0pt;font-family:&quot;Courier
              New&quot;,serif"><br>
              <br>
              <tt>Before those warnings, have you got an warning like:</tt><br>
              <tt>        WARNING:core:utimer_ticker: utimer task
                &lt;tm-utimer&gt; already scheduled for....</tt><br>
              <br>
              <tt>Regards,</tt><br>
              <br>
              <br>
              <br>
            </span><o:p></o:p></p>
          <pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
          <pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
          <div>
            <p class="MsoNormal">On 25.08.2016 18:08, Ramachandran,
              Agalya (Contractor) wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal"><span style="color:blue">Hi Bogdan, </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><b><span style="color:blue">Does
                  OpenSIPS recover from this ?</span></b><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">Answer: It
                depends upon the volume of the call. If am sending too
                many calls (may be more than 50 calls), OpenSIPS is not
                recovering. And am restarting
              </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">But if I send
                less than 10 calls then it is OK.
              </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><b><span style="color:blue">Have you
                  seen other job reported, besides "tm-utimer" ?</span></b><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">Answer: I also
                have “blcore-expire” in logs, like once every 10 times
                of "tm-utimer"</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">I also
                observed that increasing the children process in config
                file, is solving this issue.
              </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">P.S:</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">e.g : Sending
                10 calls to opensips, at 2 calls per sec, then I need to
                keep children as 12.
              </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">     For even
                10 calls, if I keep children as 4, 4 to 6 calls are
                passing and other calls are failing.
              </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">Why do we need
                to increase the children process?</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">Just to
                confirm, is opensips 2.1.4 version  a stable release?</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:blue">Regards,<br>
                Agalya</span><o:p></o:p></p>
            <p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
            <div>
              <div style="border:none;border-top:solid #E1E1E1
                1.0pt;padding:3.0pt 0in 0in 0in">
                <p class="MsoNormal"><b><span style="color:windowtext">From:</span></b><span
                    style="color:windowtext"> Bogdan-Andrei Iancu [<a
                      moz-do-not-send="true"
                      href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
                    <br>
                    <b>Sent:</b> Thursday, August 25, 2016 10:54 AM<br>
                    <b>To:</b> OpenSIPS users mailling list <a
                      moz-do-not-send="true"
                      href="mailto:users@lists.opensips.org">
                      &lt;users@lists.opensips.org&gt;</a>;
                    Ramachandran, Agalya (Contractor) <a
                      moz-do-not-send="true"
                      href="mailto:Agalya_Ramachandran@comcast.com">
                      &lt;Agalya_Ramachandran@comcast.com&gt;</a><br>
                    <b>Subject:</b> Re: [OpenSIPS-Users] Too many
                    warnings in opensips log</span><o:p></o:p></p>
              </div>
            </div>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
                  Agalya,</span></tt><span
                style="font-size:10.0pt;font-family:&quot;Courier
                New&quot;,serif"><br>
                <br>
                <tt>Question : after you get these logs, you mentioned
                  the inability of handling new calls. Does OpenSIPS
                  recover from this ? or you have to restart after such
                  an event ?</tt><br>
                <br>
                <tt>Have you seen other job reported, besides
                  "tm-utimer" ?</tt><br>
                <br>
                <tt>Regards,</tt><br>
                <br>
                <br>
                <br>
              </span><o:p></o:p></p>
            <pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
            <pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
            <div>
              <p class="MsoNormal">On 24.08.2016 18:31, Ramachandran,
                Agalya (Contractor) wrote:<o:p></o:p></p>
            </div>
            <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
              <p class="MsoNormal"><span style="color:blue">Hi team, </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Am using
                  opensips 2.1.4 version and trying to do load test.
                  When running the test cases, am getting too many
                  warnings in OpenSIPS log.</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">These
                  warnings are coming continuously and its more than 2
                  page in log file.
                </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Below are
                  the warnings.</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Aug 24
                  15:27:34 sturn-test /usr/local/sbin/opensips[12015]:
                  WARNING:core:handle_timer_job: utimer job
                  &lt;tm-utimer&gt; has a 39450000 us delay in execution</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Aug 24
                  15:27:34 sturn-test /usr/local/sbin/opensips[12015]:
                  WARNING:core:handle_timer_job: utimer job
                  &lt;tm-utimer&gt; has a 39450000 us delay in execution</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Aug 24
                  15:27:34 sturn-test /usr/local/sbin/opensips[12015]:
                  WARNING:core:handle_timer_job: utimer job
                  &lt;tm-utimer&gt; has a 39450000 us delay in execution</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Aug 24
                  15:27:34 sturn-test /usr/local/sbin/opensips[12015]:
                  WARNING:core:handle_timer_job: utimer job
                  &lt;tm-utimer&gt; has a 39450000 us delay in execution</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Aug 24
                  15:27:34 sturn-test /usr/local/sbin/opensips[12015]:
                  WARNING:core:handle_timer_job: utimer job
                  &lt;tm-utimer&gt; has a 39450000 us delay in execution</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Aug 24
                  15:27:34 sturn-test /usr/local/sbin/opensips[12015]:
                  WARNING:core:handle_timer_job: utimer job
                  &lt;tm-utimer&gt; has a 39450000 us delay in execution</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">When I get
                  this Warning, calls are getting failed.</span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Why am
                  getting this warning and what could be done to avoid
                  it?
                </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue"> </span><o:p></o:p></p>
              <p class="MsoNormal"><span style="color:blue">Regards,<br>
                  Agalya</span><o:p></o:p></p>
              <p class="MsoNormal"><span
                  style="font-size:12.0pt;font-family:&quot;Times New
                  Roman&quot;,serif"><br>
                  <br>
                  <br>
                  <br>
                  <br>
                </span><o:p></o:p></p>
              <pre>_______________________________________________<o:p></o:p></pre>
              <pre>Users mailing list<o:p></o:p></pre>
              <pre><a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
              <pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
            </blockquote>
            <p class="MsoNormal"><span
                style="font-size:12.0pt;font-family:&quot;Times New
                Roman&quot;,serif"> </span><o:p></o:p></p>
          </blockquote>
          <p class="MsoNormal"><span
              style="font-size:12.0pt;font-family:&quot;Times New Roman
              ,serif&quot;,serif"> </span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,serif"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>