[OpenSIPS-Users] Help needed with the trap file

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jun 13 06:25:54 UTC 2023


Hi Matt,

The utimer is completed, but with some delay. As time as the reported 
delay ("already scheduled *301400* ms ago") does not increase, it is ok, 
the task ends, but it is slow. The tm-utimer task is responsible for 
performing the TM retransmissions, maybe your traffic is pron to 
something like that.

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com
   https://www.siphub.com

On 5/18/23 9:08 PM, L S wrote:
> Hi,
>
> I'm trying to find out why a utimer task is not complete:
>
> May 17 11:04:19 opensips2 /usr/local/sbin/opensips[101616]: 
> WARNING:core:utimer_ticker: utimer task <tm-utimer> already scheduled 
> 301400 ms ago (now 265202840 ms), delaying execution
>
> (opensips.log is showing the utimer warning coming from thread 101616)
>
> The partial trap file is below. This is my first time analyzing a trap 
> file, so any help is appreciated. I'm trying to find out why utimer 
> task is stuck. Some stuff is optimized. Do I need to see them?
> What should I look for?
>
> Thanks,
> Matt
>
>
>
> ----- partial trap file ---------------
> ---start 101612 (root 101612      1  0 May14 ?        00:00:00 
> /usr/local/sbin/opensips -u root -g root -P /var/run/opensips.pid -f 
> /usr/local/etc/opensips/opensips.cfg -m 1024 -M 16)
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> 0x00007f1c47012f40 in __pause_nocancel () from /lib64/libpthread.so.0
> #0  0x00007f1c47012f40 in __pause_nocancel () from /lib64/libpthread.so.0
> No symbol table info available.
> #1  0x000000000041e4fd in main_loop () at main.c:304
>         startup_done = <optimized out>
>         chd_rank = 37
>         last_check = 0
>         rc = <optimized out>
> #2  main (argc=<optimized out>, argv=<optimized out>) at main.c:916
>         c = <optimized out>
>         r = <optimized out>
>         tmp = 0x7fff4814af81 ""
>         tmp_len = <optimized out>
>         port = <optimized out>
>         proto = <optimized out>
>         protos_no = <optimized out>
>         options = 0x683110 
> "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
>         ret = -1
>         seed = 3543554664
>         rfd = <optimized out>
>         __FUNCTION__ = "main"
> [Inferior 1 (process 101612) detached]
>
> .....
>
> ---start 101616 (root     101616 101612  0 May14 ?        00:05:44 
> /usr/local/sbin/opensips -u root -g root -P /var/run/opensips.pid -f 
> /usr/local/etc/opensips/opensips.cfg -m 1024 -M 16)
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib64/libthread_db.so.1".
> 0x00007f1c46d2bb23 in __select_nocancel () from /lib64/libc.so.6
> #0  0x00007f1c46d2bb23 in __select_nocancel () from /lib64/libc.so.6
> No symbol table info available.
> #1  0x00000000004cdee8 in run_timer_process () at timer.c:503
>         drift = 0
>         wait = <optimized out>
>         o_tv = <optimized out>
>         comp_tv = {tv_sec = 0, tv_usec = 100000}
>         ij = 266131400000
>         multiple = <optimized out>
>         cnt = <optimized out>
>         tv = {tv_sec = 0, tv_usec = 75286}
>         uinterval = 100000
> #2  start_timer_processes () at timer.c:633
>         id = <optimized out>
>         __FUNCTION__ = "start_timer_processes"
> #3  0x000000000041df8c in main_loop () at main.c:221
>         startup_done = 0x0
>         chd_rank = 0
>         last_check = 0
>         rc = <optimized out>
> #4  main (argc=<optimized out>, argv=<optimized out>) at main.c:916
>         c = <optimized out>
>         r = 0
>         tmp = 0x7fff4814af81 ""
>         tmp_len = <optimized out>
>         port = <optimized out>
>         proto = <optimized out>
>         protos_no = <optimized out>
>         options = 0x683110 
> "f:cCm:M:b:l:n:N:rRvdDFEVhw:t:u:g:p:P:G:W:o:a:k:s:"
>         ret = -1
>         seed = 3543554664
>         rfd = <optimized out>
>         __FUNCTION__ = "main"
> [Inferior 1 (process 101616) detached]
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20230613/0c07f0f6/attachment-0001.html>


More information about the Users mailing list