<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Rodrigo,<br>
      <br>
      The issue you are reporting it is not the real problem, but a side
      effect of it. As you noticed, when opensips is under heavy load
      (CPU?), the internal timer system starts to generate warnings you
      see.<br>
      <br>
      Now, the questions is: why is your opensips using 100% or why is
      it blocked (no processes available). Do you have any input on this
      ?<br>
      <br>
      Regards,<br>
    </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>

OpenSIPS Summit May 2017 Amsterdam
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2017Amsterdam.html">http://www.opensips.org/events/Summit-2017Amsterdam.html</a>
</pre>
    <div class="moz-cite-prefix">On 03/20/2017 09:10 PM, Rodrigo Pimenta
      Carvalho wrote:<br>
    </div>
    <blockquote
cite="mid:DM5PR02MB273260B0F9C812A723BA8219B53A0@DM5PR02MB2732.namprd02.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;"
        dir="ltr">
        <p><br>
        </p>
        <p>Hi.</p>
        <p><br>
        </p>
        <p>I have seen again that behavior from OpenSIPS that generates
          lots of warnings, like below:<br>
        </p>
        <p><br>
        </p>
        <div><br>
          Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 21873780 ms (now
          21873970 ms), it may overlap..<br>
          Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 21873990 ms (now
          21873990 ms), it may overlap..<br>
          Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08
          [1793] WARNING:core:handle_timer_job: utimer job
          <tm-utimer> has a 190000 us delay in execution<br>
          Jan 01 06:19:26 colibri-imx6 opensips[1785]: Jan  1 06:19:26
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 0 ms (now 21891940
          ms), it may overlap..<br>
          Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 21908780 ms (now
          21909000 ms), it may overlap..<br>
          Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 21909010 ms (now
          21909010 ms), it may overlap..<br>
          Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43
          [1794] WARNING:core:handle_timer_job: utimer job
          <tm-utimer> has a 220000 us delay in execution<br>
          Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43
          [1797] WARNING:core:handle_timer_job: timer job
          <tm-timer> has a 220000 us delay in execution<br>
          Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43
          [1795] WARNING:core:handle_timer_job: timer job
          <dlg-timer> has a 220000 us delay in execution<br>
          Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43
          [1793] WARNING:core:handle_timer_job: timer job
          <blcore-expire> has a 230000 us delay in execution<br>
          Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49
          [1798] WARNING:core:handle_timer_job: utimer job
          <tm-utimer> has a 370000 us delay in execution<br>
          Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 21914930 ms (now
          21915300 ms), it may overlap..<br>
          Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49
          [1792] WARNING:core:utimer_ticker: utimer task
          <tm-utimer> already scheduled for 21915320 ms (now
          21915320 ms), it may overlap..<br>
          Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49
          [1794] WARNING:core:handle_timer_job: utimer job
          <tm-utimer> has a 30000 us delay in execution<br>
          Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49
          [1795] WARNING:core:handle_timer_job: utimer job
          <tm-utimer> has a 30000 us delay in execution<br>
          <br>
          When it happens, I can see that OpenSIPS is using the CPU
          almost 100% of the time. And such behavior prevents others
          softwares in my system to work without problems. I see 6
          process with 'OpenSIPS name and each one using 11% of CPU, for
          example. Now, the unique solution is to reboot the system. 
          Otherwise, the system remains instable and OpenSIPS continues
          using the CPU much more than usual.<br>
          <br>
          Is there some new information about such issue that I should
          to know nowadays?<br>
          Is my hardware under minimals requirements to run OpenSIPS?<br>
          Is my script opensips.cfg wrong?<br>
          <br>
          My system has the following characteristics:<br>
          <br>
              CPU clock = <span>996000<br>
            <span>    CPU <span>model name    = ARMv7 Processor rev 10
                (v7l)</span></span><br>
            <span>     Hardware    =  Freescale i.MX6 Quad/DualLite
              (Device Tree)</span><br>
            <br>
            <div>                           total       used         
              free     shared    buffers     cached<span></span><br>
                  Mem:        251140     157208      93932         
              0        196      26304<br>
              <span></span><br>
              <br>
              <br>
            </div>
            In my script opensips.cfg I have:<br>
            -----------------------------------------------<br>
            <div>tcp_children=4                                                                                                                     
              <br>
              tcp_keepalive = 1<br>
              <span>children=4<br>
                <span>#fork=no</span><br>
                <span>auto_aliases=no</span><br>
                <br>
                <div>#### Transaction
Module                                                                                                                                                              
                   <br>
                  loadmodule "tm.so"<br>
                  <div>modparam("tm", "fr_timeout",
90)                                                                                    <br>
                    modparam("tm", "fr_inv_timeout",
                    120)                           <br>
                    modparam("tm", "T1_timer",
3000)                                                                                                                                    <br>
                    modparam("tm", "restart_fr_on_each_reply",
0)                                                                                                                                       <br>
                    modparam("tm", "onreply_avp_mode",
1)                                                                                              <br>
                    <br>
                  </div>
                  Any hint will be very helpful!<br>
                  <br>
                  Best regards.<span></span></div>
              </span><span></span></div>
          </span><br>
          <br>
          <br>
        </div>
        <br>
        <div id="Signature">
          <div name="divtagdefaultwrapper"
            style="font-family:Calibri,Arial,Helvetica,sans-serif;
            font-size:; margin:0">
            <div class="BodyFragment"><font size="2">
                <div class="PlainText">RODRIGO PIMENTA CARVALHO<br>
                  Inatel Competence Center<br>
                  Software<br>
                  Ph: +55 35 3471 9200 RAMAL 979<br>
                </div>
              </font></div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a 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>
</pre>
    </blockquote>
    <br>
  </body>
</html>