<html><head></head><body><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></div>
<div>Hi Bogdan,</div><div><br></div><div>Not in this server, But I'll try run on a bare-metal server and see if there's a change. <br></div><div><br></div>
</div><div id="yahoo_quoted_8039479761" class="yahoo_quoted">
<div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
<div>
On Friday, 21 September 2018, 3:22:20 PM GMT+5:30, Bogdan-Andrei Iancu <bogdan@opensips.org> wrote:
</div>
<div><br></div>
<div><br></div>
<div><div id="yiv4579324076"><div>
<tt>Hi Pasan,<br clear="none">
<br clear="none">
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 clear="none">
<br clear="none">
Regards,<br clear="none">
</tt>
<pre class="yiv4579324076moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
<a rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-freetext" target="_blank" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="yiv4579324076yqt0447719734" id="yiv4579324076yqt95564"><div class="yiv4579324076moz-cite-prefix">On 09/20/2018 07:20 PM, Pasan Meemaduma
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;">
<div>Hi Bogdan,<br clear="none">
<div><br clear="none">
<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 clear="none">
</span></span><span><span></span></span>
<div>
<div><br clear="none">
Host CPUs<br clear="none">
</div>
<span>lscpu<br clear="none">
Architecture: x86_64<br clear="none">
CPU op-mode(s): 32-bit, 64-bit<br clear="none">
Byte Order: Little Endian<br clear="none">
CPU(s): 64<br clear="none">
On-line CPU(s) list: 0-63<br clear="none">
Thread(s) per core: 2<br clear="none">
Core(s) per socket: 16<br clear="none">
Socket(s): 2<br clear="none">
<br clear="none">
</span><br clear="none">
</div>
<span></span></div>
</div>
</div>
<div><br clear="none">
</div>
</div>
<div class="yiv4579324076yahoo_quoted" id="yiv4579324076yahoo_quoted_7971753336">
<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 rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-rfc2396E" ymailto="mailto:bogdan@opensips.org" target="_blank" href="mailto:bogdan@opensips.org"><bogdan@opensips.org></a> wrote: </div>
<div><br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<div id="yiv4579324076">
<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="yiv4579324076moz-signature">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-freetext" target="_blank" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Bootcamp 2018
<a rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-freetext" target="_blank" href="http://opensips.org/training/OpenSIPS_Bootcamp_2018/">http://opensips.org/training/OpenSIPS_Bootcamp_2018/</a>
</pre>
<div class="yiv4579324076yqt5906549764" id="yiv4579324076yqt75715">
<div class="yiv4579324076moz-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="yiv4579324076mimeAttachmentHeader"></fieldset>
<br clear="none">
<pre>_______________________________________________
Users mailing list
<a rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-abbreviated" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a rel="nofollow" shape="rect" class="yiv4579324076moz-txt-link-freetext" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
</div>
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote></div>
<br clear="none">
</div></div></div>
</div>
</div></div></body></html>