<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello,</p>
<p>I would also worry about the out of memory logs. For
troubleshooting in such case, you need to get:</p>
<p>kamctl ps</p>
<p>kamctl rpc pkg.stats</p>
<p>Maybe also you set latency limits via core parameter to see if
some operations are slow in the config.</p>
<p>If there are slow C functions run internally on timer, then maybe
you can troubleshoot with debug=3.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 29.08.22 16:30, Denys Pozniak wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CA+x3AxoFWhvELJo_6_E7pX+Cmc-0D=yTKWqAK5-R32rHr7qu+w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>Hello!</div>
<div><br>
After some time, Kamailio stops processing incoming messages.<br>
<span style="background-color:rgb(30,30,30);color:rgb(212,212,212);font-family:Consolas,"Courier New",monospace;font-size:14px;white-space:pre">slow timer too slow: overflow</span> messages
appear in the log (I suspect that the problem is related to
the rtimer module)</div>
<div><br>
</div>
<div>
<div style="color:rgb(212,212,212);background-color:rgb(30,30,30);font-family:Consolas,"Courier New",monospace;font-size:14px;line-height:19px;white-space:pre"><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 OPTIONS <a href="mailto:2b45547f33f5203f-4091@10.10.10.10" moz-do-not-send="true" class="moz-txt-link-freetext">2b45547f33f5203f-4091@10.10.10.10</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/mem/q_malloc.c:430</span>]: qm_malloc(): qm_malloc(0x7f163b9f9010, 960) called from core: core/rvalue.c: rval_new_empty(246), module: core; Free fragment></div><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 OPTIONS <a href="mailto:2b45547f33f5203f-4091@10.10.10.10" moz-do-not-send="true" class="moz-txt-link-freetext">2b45547f33f5203f-4091@10.10.10.10</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/rvalue.c:253</span>]: rval_new_empty(): could not allocate private memory from pkg pool</div><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11330</span>]: 12(11330) WARNING: <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/timer.c:936</span>]: timer_handler(): slow timer too slow: overflow (62671 - 61648 = 1023)</div><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 OPTIONS <a href="mailto:34618af41c3866bc-16408@10.10.10.20" moz-do-not-send="true" class="moz-txt-link-freetext">34618af41c3866bc-16408@10.10.10.20</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/mem/q_malloc.c:297</span>]: qm_find_free(): qm_find_free(0x7f163b9f9010, 960); Free fragment not found!</div><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 OPTIONS <a href="mailto:34618af41c3866bc-16408@10.10.10.20" moz-do-not-send="true" class="moz-txt-link-freetext">34618af41c3866bc-16408@10.10.10.20</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/mem/q_malloc.c:430</span>]: qm_malloc(): qm_malloc(0x7f163b9f9010, 960) called from core: core/rvalue.c: rval_new_empty(246), module: core; Free fragment no></div><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 OPTIONS <a href="mailto:34618af41c3866bc-16408@10.10.10.20" moz-do-not-send="true" class="moz-txt-link-freetext">34618af41c3866bc-16408@10.10.10.20</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/rvalue.c:253</span>]: rval_new_empty(): could not allocate private memory from pkg pool</div><div>Aug 29 14:19:17 kamailio[<span style="color:rgb(206,145,120)">11330</span>]: 12(11330) WARNING: <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/timer.c:936</span>]: timer_handler(): slow timer too slow: overflow (62671 - 61648 = 1023)</div><div>Aug 29 14:19:18 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 KDMQ <a href="mailto:1c18959d07113951-203309@10.10.10.30" moz-do-not-send="true" class="moz-txt-link-freetext">1c18959d07113951-203309@10.10.10.30</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/mem/q_malloc.c:297</span>]: qm_find_free(): qm_find_free(0x7f163b9f9010, 960); Free fragment not found!</div><div>Aug 29 14:19:18 kamailio[<span style="color:rgb(206,145,120)">11320</span>]: 2(11320) ERROR: {1 10 KDMQ <a href="mailto:1c18959d07113951-203309@10.10.10.30" moz-do-not-send="true" class="moz-txt-link-freetext">1c18959d07113951-203309@10.10.10.30</a>} <span style="color:rgb(128,128,128)"><</span><span style="color:rgb(86,156,214)">core</span><span style="color:rgb(128,128,128)">></span> [<span style="color:rgb(206,145,120)">core/mem/q_malloc.c:430</span>]: qm_malloc(): qm_malloc(0x7f163b9f9010, 960) called from core: core/rvalue.c: rval_new_empty(246), module: core; Free fragment no></div></div>
</div>
<div><br>
</div>
<div>
<div>Please point me out where the source of the problem could
be.<br>
</div>
<div><br>
</div>
<div>version: kamailio 5.6.1 (x86_64/linux)<br>
</div>
</div>
<div>-- <br>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr"><br>
<div>
<div>BR,</div>
<div>Denys Pozniak<br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
* <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a></pre>
</body>
</html>