Hi Pasan,
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.
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).
What are the values you typically observe ? maybe the warning is jst
about a slow context switching on your server (btw, how many cores ?).
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
OpenSIPS Bootcamp 2018
http://opensips.org/training/OpenSIPS_Bootcamp_2018/
On 09/14/2018 06:16 AM, Pasan Meemaduma via Users wrote:
Hi Guys,
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)
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
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
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
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
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.
/root>> opensips -V
version: opensips 2.3.5 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
main.c compiled on with gcc 6.3.0
Its a KVM guest and has 6 CPUs allocated.
cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 23
model : 1
model name : AMD EPYC Processor (with IBPB)
stepping : 2
microcode : 0x1000065
cpu MHz : 2095.956
cache size : 512 KB
physical id : 0
siblings : 6
core id : 64
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
bogomips : 4191.91
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
Would be nice to know how I could hunt down this issue.
Thanks
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users