<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>When starting opensips, is there any opensips process that is using
      more than 80% of a core? If so, can you pinpoint the PID in the
      opensipsctl ps command?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 01/18/2017 11:55 PM, Ramachandran,
      Agalya (Contractor) wrote:<br>
    </div>
    <blockquote
      cite="mid:92c380d81d5c45a9a2bce09fe344188e@COPDCEX28.cable.comcast.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@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="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Same
            with my case too.
            <o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:blue">Regards,<br>
            Agalya<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
              style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif">
            Users [<a class="moz-txt-link-freetext" href="mailto:users-bounces@lists.opensips.org">mailto:users-bounces@lists.opensips.org</a>]
            <b>On Behalf Of </b>Ahmed Munir<br>
            <b>Sent:</b> Wednesday, January 18, 2017 1:31 PM<br>
            <b>To:</b> OpenSIPs Users <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a><br>
            <b>Subject:</b> [OpenSIPS-Users] OpenSIPs 2.2.2 warnings
            during start service<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <p class="MsoNormal" style="margin-bottom:12.0pt">Hi,<o:p></o:p></p>
                </div>
                <p class="MsoNormal" style="margin-bottom:12.0pt">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>
                  <o:p></o:p></p>
              </div>
              <p class="MsoNormal" style="margin-bottom:12.0pt">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.<o:p></o:p></p>
            </div>
            <p class="MsoNormal" style="margin-bottom:12.0pt">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<o:p></o:p></p>
          </div>
          <p class="MsoNormal">I would like to know what changes
            required to fix this change? Please advise.
            <br clear="all">
            <o:p></o:p></p>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <p class="MsoNormal"><br>
                      -- <o:p></o:p></p>
                    <div>
                      <p class="MsoNormal" style="margin-bottom:12.0pt">Regards,<br>
                        <br>
                        Ahmed Munir Chohan<o:p></o:p></p>
                    </div>
                  </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>