[SR-Users] slow timer too slow: overflow

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 29 16:43:19 CEST 2022


Hello,

I would also worry about the out of memory logs. For troubleshooting in
such case, you need to get:

kamctl ps

kamctl rpc pkg.stats

Maybe also you set latency limits via core parameter to see if some
operations are slow in the config.

If there are slow C functions run internally on timer, then maybe you
can troubleshoot with debug=3.

Cheers,
Daniel

On 29.08.22 16:30, Denys Pozniak wrote:
> Hello!
>
> After some time, Kamailio stops processing incoming messages.
> slow timer too slow: overflow messages appear in the log (I suspect
> that the problem is related to the rtimer module)
>
> Aug 29 14:19:17 kamailio[11320]:  2(11320) ERROR: {1 10 OPTIONS
> 2b45547f33f5203f-4091 at 10.10.10.10} <core> [core/mem/q_malloc.c:430]:
> qm_malloc(): qm_malloc(0x7f163b9f9010, 960) called from core:
> core/rvalue.c: rval_new_empty(246), module: core; Free fragment>
> Aug 29 14:19:17 kamailio[11320]:  2(11320) ERROR: {1 10 OPTIONS
> 2b45547f33f5203f-4091 at 10.10.10.10} <core> [core/rvalue.c:253]:
> rval_new_empty(): could not allocate private memory from pkg pool
> Aug 29 14:19:17 kamailio[11330]: 12(11330) WARNING: <core>
> [core/timer.c:936]: timer_handler(): slow timer too slow: overflow
> (62671 - 61648 = 1023)
> Aug 29 14:19:17 kamailio[11320]:  2(11320) ERROR: {1 10 OPTIONS
> 34618af41c3866bc-16408 at 10.10.10.20} <core> [core/mem/q_malloc.c:297]:
> qm_find_free(): qm_find_free(0x7f163b9f9010, 960); Free fragment not
> found!
> Aug 29 14:19:17 kamailio[11320]:  2(11320) ERROR: {1 10 OPTIONS
> 34618af41c3866bc-16408 at 10.10.10.20} <core> [core/mem/q_malloc.c:430]:
> qm_malloc(): qm_malloc(0x7f163b9f9010, 960) called from core:
> core/rvalue.c: rval_new_empty(246), module: core; Free fragment no>
> Aug 29 14:19:17 kamailio[11320]:  2(11320) ERROR: {1 10 OPTIONS
> 34618af41c3866bc-16408 at 10.10.10.20} <core> [core/rvalue.c:253]:
> rval_new_empty(): could not allocate private memory from pkg pool
> Aug 29 14:19:17 kamailio[11330]: 12(11330) WARNING: <core>
> [core/timer.c:936]: timer_handler(): slow timer too slow: overflow
> (62671 - 61648 = 1023)
> Aug 29 14:19:18 kamailio[11320]:  2(11320) ERROR: {1 10 KDMQ
> 1c18959d07113951-203309 at 10.10.10.30} <core> [core/mem/q_malloc.c:297]:
> qm_find_free(): qm_find_free(0x7f163b9f9010, 960); Free fragment not
> found!
> Aug 29 14:19:18 kamailio[11320]:  2(11320) ERROR: {1 10 KDMQ
> 1c18959d07113951-203309 at 10.10.10.30} <core> [core/mem/q_malloc.c:430]:
> qm_malloc(): qm_malloc(0x7f163b9f9010, 960) called from core:
> core/rvalue.c: rval_new_empty(246), module: core; Free fragment no>
>
> Please point me out where the source of the problem could be.
>
> version: kamailio 5.6.1 (x86_64/linux)
> -- 
>
> BR,
> Denys Pozniak
>
>
>
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220829/9fcd7efc/attachment.htm>


More information about the sr-users mailing list