<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi,<br>
      <br>
      Does this happen ONLY at startup ? without any other warnings
      during runtime ?<br>
      <br>
      There is something interesting in your logs:<br>
      <br>
      First is this log, saying you do an infinite loop in a "while" in
      the script:<br>
          Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
      <a class="moz-txt-link-freetext" href="INFO:core:do_action">INFO:core:do_action</a>: max while loops are encountered<br>
      And secondly all the warning are from the same process (3089)
      which is the the first SIP UDP listener.<br>
      <br>
      Do you use any startup route ?<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></pre>
    <div class="moz-cite-prefix">On 01/18/2017 08:30 PM, Ahmed Munir
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAGMN=Jd7vFg0vVW0MtePDLRSyGqJZDwfpZn66iVeLLscYMiOXw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>Hi,<br>
                <br>
              </div>
              I'm currently seeing the warnings when I start opensips
              service;<br>
              <br>
              Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
              WARNING:core:handle_timer_job: timer job
              <blcore-expire> has a 1500000 us delay in execution<br>
              Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
              WARNING:core:handle_timer_job: timer job <tm-timer>
              has a 1500000 us delay in execution<br>
              Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
              WARNING:core:handle_timer_job: timer job <dlg-timer>
              has a 1500000 us delay in execution<br>
              Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
              WARNING:core:handle_timer_job: utimer job
              <tm-utimer> has a 2290000 us delay in execution<br>
              Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3089]:
              <a class="moz-txt-link-freetext" href="INFO:core:do_action">INFO:core:do_action</a>: max while loops are encountered<br>
              Jan 18 13:04:35 qorblpsisprxyd1 /usr/sbin/opensips[3088]:
              WARNING:core:utimer_ticker: utimer task <tm-utimer>
              already scheduled for 190 ms (now 2470 ms), it may over<br>
              lap..<br>
              <br>
              <br>
            </div>
            I've tried to update the source code for timer.c (line#:
            190) ref: <a moz-do-not-send="true"
href="https://github.com/OpenSIPS/opensips/commit/fd8f6ec442b4365da9d274af6939954246ece865?diff=split">https://github.com/OpenSIPS/opensips/commit/fd8f6ec442b4365da9d274af6939954246ece865?diff=split</a>,
            but didn't work at all.<br>
            <br>
          </div>
          Currently running 8 child processors, see below;<br>
          <br>
          [root@qorblpsisprxyd1 ]# opensips  -V<br>
          version: opensips 2.2.2 (x86_64/linux)<br>
          flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP,
          PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
          ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
          MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
          poll method support: poll, epoll_lt, epoll_et, sigio_rt,
          select.<br>
          main.c compiled on 12:39:45 Jan 18 2017 with gcc 4.4.7<br>
          <br>
          <br>
          [root@qorblpsisprxyd1 ]# opensipsctl fifo ps<br>
          Process::  ID=0 PID=3083 Type=attendant<br>
          Process::  ID=1 PID=3085 Type=MI FIFO<br>
          Process::  ID=2 PID=3086 Type=time_keeper<br>
          Process::  ID=3 PID=3088 Type=timer<br>
          Process::  ID=4 PID=3089 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=5 PID=3091 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=6 PID=3092 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=7 PID=3094 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=8 PID=3096 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=9 PID=3098 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=10 PID=3100 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=11 PID=3102 Type=SIP receiver udp:<a
            moz-do-not-send="true" href="http://10.3.120.94:5060">10.3.120.94:5060</a><br>
          Process::  ID=12 PID=3104 Type=Timer handler<br>
          <br>
        </div>
        I would like to know what changes required to fix this change?
        Please advise. <br clear="all">
        <div>
          <div>
            <div>
              <div>
                <div><br>
                  -- <br>
                  <div class="gmail_signature">Regards,<br>
                    <br>
                    Ahmed Munir Chohan<br>
                    <br>
                  </div>
                </div>
              </div>
            </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>