<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Pasan,<br>
      <br>
      Are you able to run (just for testing purposes) opensips directly
      on the host machine? I just trying to see if the difference will
      impact.<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 Bootcamp 2018
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
    <div class="moz-cite-prefix">On 09/20/2018 07:20 PM, Pasan Meemaduma
      wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:1505614727.424208.1537460406419@mail.yahoo.com">
      <div style="font-family:Helvetica Neue, Helvetica, Arial,
        sans-serif;font-size:16px;">
        <div style="font-family:Helvetica Neue, Helvetica, Arial,
          sans-serif;font-size:16px;">
          <div>Hi Bogdan,<br>
            <div><br>
              <div>Nice to here from you :) Thank for clarifying about
                the warning. My delay times are only vary between <span>40000
                  us - <span>50000 us. I got 6 vCPUs allocated to my
                    kvm guest , host machine has 16 cores in total. I
                    wondered if these are related to guest CPU stealing
                    as I get 0.02% of max cpu steal value according our
                    monitoring graphs.<br>
                  </span></span><span><span></span></span>
                <div>
                  <div><br>
                    Host CPUs<br>
                  </div>
                  <span>lscpu<br>
                    Architecture:          x86_64<br>
                    CPU op-mode(s):        32-bit, 64-bit<br>
                    Byte Order:            Little Endian<br>
                    CPU(s):                64<br>
                    On-line CPU(s) list:   0-63<br>
                    Thread(s) per core:    2<br>
                    Core(s) per socket:    16<br>
                    Socket(s):             2<br>
                    <br>
                  </span><br>
                </div>
                <span></span></div>
            </div>
          </div>
          <div><br>
          </div>
        </div>
        <div id="yahoo_quoted_7971753336" class="yahoo_quoted">
          <div style="font-family:'Helvetica Neue', Helvetica, Arial,
            sans-serif;font-size:13px;color:#26282a;">
            <div> On Thursday, 20 September 2018, 9:27:24 PM GMT+5:30,
              Bogdan-Andrei Iancu <a class="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a> wrote: </div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>
              <div id="yiv6415400624">
                <div> Hi Pasan,<br clear="none">
                  <br clear="none">
                  That warning (harmless in 99% of the cases) reports
                  the delays between (a) triggering a timer job in timer
                  processes and (b) executing that timer job in a worker
                  process.<br clear="none">
                  <br clear="none">
                  If there is no load (worker processes are idle, no
                  busy with anything else), the reported delay may be
                  generated only by the interprocess communication
                  (passing the job from the triggering process to the
                  executing process via internal pipes).<br clear="none">
                  <br clear="none">
                  What are the values you typically observe ? maybe the
                  warning is jst about a slow context switching on your
                  server (btw, how many cores ?).<br clear="none">
                  <br clear="none">
                  Regards, <br clear="none">
                  <pre class="yiv6415400624moz-signature">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a rel="nofollow" shape="rect" class="yiv6415400624moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com" moz-do-not-send="true">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
  <a rel="nofollow" shape="rect" class="yiv6415400624moz-txt-link-freetext" target="_blank" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/" moz-do-not-send="true">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
                  <div class="yiv6415400624yqt5906549764"
                    id="yiv6415400624yqt75715">
                    <div class="yiv6415400624moz-cite-prefix">On
                      09/14/2018 06:16 AM, Pasan Meemaduma via Users
                      wrote:<br clear="none">
                    </div>
                    <blockquote type="cite">
                      <div style="font-family:Helvetica Neue, Helvetica,
                        Arial, sans-serif;font-size:16px;">
                        <div style="font-family:Helvetica Neue,
                          Helvetica, Arial, sans-serif;font-size:16px;">Hi
                          Guys,</div>
                        <div style="font-family:Helvetica Neue,
                          Helvetica, Arial, sans-serif;font-size:16px;"><br
                            clear="none">
                        </div>
                        <div style="font-family:Helvetica Neue,
                          Helvetica, Arial, sans-serif;font-size:16px;">I'm
                          seeing the following warnings on my opensips
                          2.3.5 boxes even when they are idle. (just
                          pinging about 8 asterisk gateways in drouting
                          module for health check)</div>
                        <div style="font-family:Helvetica Neue,
                          Helvetica, Arial, sans-serif;font-size:16px;"><br
                            clear="none">
                        </div>
                        <div style="font-family:Helvetica Neue,
                          Helvetica, Arial, sans-serif;font-size:16px;"><span>Sep
                            14 06:38:23  /usr/sbin/opensips[6373]:
                            WARNING:core:handle_timer_job: timer job
                            <blcore-expire> has a 40000 us delay
                            in execution<br clear="none">
                            Sep 14 08:31:53  /usr/sbin/opensips[6362]:
                            WARNING:core:handle_timer_job: utimer job
                            <tm-utimer> has a 40000 us delay in
                            execution<br clear="none">
                            Sep 14 12:15:38  /usr/sbin/opensips[6365]:
                            WARNING:core:handle_timer_job: timer job
                            <tm-timer> has a 40000 us delay in
                            execution<br clear="none">
                            Sep 14 12:15:38  /usr/sbin/opensips[6363]:
                            WARNING:core:handle_timer_job: timer job
                            <tm-timer> has a 40000 us delay in
                            execution<br clear="none">
                          </span><span></span>
                          <div><br clear="none">
                          </div>
                          <div>The servers doesn't process anything most
                            of the time. I'm wondering whats causing
                            these warnings. I tired script_trace and
                            enable debug level 5 and nothing explains
                            why it complains like this. It just pops out
                            in the log without any other related log
                            line.</div>
                          <div><br clear="none">
                          </div>
                          <div><span>/root>> opensips -V<br
                                clear="none">
                              version: opensips 2.3.5 (x86_64/linux)<br
                                clear="none">
                              flags: STATS: On, DISABLE_NAGLE,
                              USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC,
                              FAST_LOCK-ADAPTIVE_WAIT<br clear="none">
                              ADAPTIVE_WAIT_LOOPS=1024,
                              MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
                              16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br
                                clear="none">
                              poll method support: poll, epoll_lt,
                              epoll_et, sigio_rt, select.<br
                                clear="none">
                              main.c compiled on  with gcc 6.3.0<br
                                clear="none">
                              <br clear="none">
                            </span>
                            <div>Its a KVM guest and has 6 CPUs
                              allocated.</div>
                            <div><span>cat /proc/cpuinfo <br
                                  clear="none">
                                processor       : 0<br clear="none">
                                vendor_id       : AuthenticAMD<br
                                  clear="none">
                                cpu family      : 23<br clear="none">
                                model           : 1<br clear="none">
                                model name      : AMD EPYC Processor
                                (with IBPB)<br clear="none">
                                stepping        : 2<br clear="none">
                                microcode       : 0x1000065<br
                                  clear="none">
                                cpu MHz         : 2095.956<br
                                  clear="none">
                                cache size      : 512 KB<br clear="none">
                                physical id     : 0<br clear="none">
                                siblings        : 6<br clear="none">
                                core id         : 64<br clear="none">
                                cpu cores       : 1<br clear="none">
                                apicid          : 0<br clear="none">
                                initial apicid  : 0<br clear="none">
                                fpu             : yes<br clear="none">
                                fpu_exception   : yes<br clear="none">
                                cpuid level     : 13<br clear="none">
                                wp              : yes<br clear="none">
                                bogomips        : 4191.91<br
                                  clear="none">
                                TLB size        : 1024 4K pages<br
                                  clear="none">
                                clflush size    : 64<br clear="none">
                                cache_alignment : 64<br clear="none">
                                address sizes   : 40 bits physical, 48
                                bits virtual<br clear="none">
                                power management:<br clear="none">
                                <br clear="none">
                              </span>
                              <div><span>Would be nice to know how I
                                  could hunt down this issue. </span></div>
                              <div><span></span><br clear="none">
                              </div>
                              <div><br clear="none">
                              </div>
                              <div>Thanks<br clear="none">
                              </div>
                              <br clear="none">
                            </div>
                          </div>
                        </div>
                      </div>
                      <br clear="none">
                      <fieldset
                        class="yiv6415400624mimeAttachmentHeader"></fieldset>
                      <br clear="none">
                      <pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv6415400624moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv6415400624moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                    </blockquote>
                  </div>
                  <br clear="none">
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>