<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Pasan,<br>
<br>
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>
<br>
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>
<br>
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>
<br>
Regards, <br>
<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/14/2018 06:16 AM, Pasan Meemaduma
via Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:311550698.2662449.1536894963950@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;">Hi Guys,</div>
<div style="font-family:Helvetica Neue, Helvetica, Arial,
sans-serif;font-size:16px;"><br>
</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>
</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>
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>
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>
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>
</span><span></span>
<div><br>
</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>
</div>
<div><span>/root>> opensips -V<br>
version: opensips 2.3.5 (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 with gcc 6.3.0<br>
<br>
</span>
<div>Its a KVM guest and has 6 CPUs allocated.</div>
<div><span>cat /proc/cpuinfo <br>
processor : 0<br>
vendor_id : AuthenticAMD<br>
cpu family : 23<br>
model : 1<br>
model name : AMD EPYC Processor (with IBPB)<br>
stepping : 2<br>
microcode : 0x1000065<br>
cpu MHz : 2095.956<br>
cache size : 512 KB<br>
physical id : 0<br>
siblings : 6<br>
core id : 64<br>
cpu cores : 1<br>
apicid : 0<br>
initial apicid : 0<br>
fpu : yes<br>
fpu_exception : yes<br>
cpuid level : 13<br>
wp : yes<br>
bogomips : 4191.91<br>
TLB size : 1024 4K pages<br>
clflush size : 64<br>
cache_alignment : 64<br>
address sizes : 40 bits physical, 48 bits virtual<br>
power management:<br>
<br>
</span>
<div><span>Would be nice to know how I could hunt down
this issue. </span></div>
<div><span></span><br>
</div>
<div><br>
</div>
<div>Thanks<br>
</div>
<br>
</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>