<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body>
<p>Hello,</p>
<p>the 5.1.2 is old, unmaintained at this moment, but you should
always run the latest version in a series to be sure you are not
affected by bugs fixed already. For example, in this case you are
in 5.1.x series, so you should run 5.1.10. But it is better to
upgrade to a maintained series, like 5.3 or 5.4.</p>
<p>Back to 5.1.x, after upgrading to 5.1.10, you can also set
mem_join=1 in the config file, that can help in such situations,
provided that to allocated enough shared memory for the traffic
you are handling. In newer release series of kamailio mem_join is
1 by default, but not in 5.1.x.</p>
<p>Cheers,<br>
Daniel<br>
</p>
<div class="moz-cite-prefix">On 08.09.20 23:06, egemen ulus wrote:<br>
</div>
<blockquote type="cite"
cite="mid:VI1PR0701MB7021FC1BDE3658ADE9F982C38E290@VI1PR0701MB7021.eurprd07.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
Hi,</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
You can check statistics of shared memory on Kamailio. In this
way, you can decide whether you need to increase your shmem or
not..</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
<br>
</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
Type "kamctl stats shmem" on cli of Kamailio server and share
the output..</div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
<span style="color: rgb(0, 0, 0); font-family: Verdana, Geneva,
Helvetica, Arial, sans-serif; font-size: 13.44px; text-align:
start; background-color: rgb(255, 255, 255); display: inline
!important"><br>
</span></div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
<span style="color: rgb(0, 0, 0); font-family: Verdana, Geneva,
Helvetica, Arial, sans-serif; font-size: 13.44px; text-align:
start; background-color: rgb(255, 255, 255); display: inline
!important">Regards</span></div>
<div style="color: rgb(33, 33, 33); background-color: rgb(255,
255, 255); text-align: left;" dir="auto">
<span style="color: rgb(0, 0, 0); font-family: Verdana, Geneva,
Helvetica, Arial, sans-serif; font-size: 13.44px; text-align:
start; background-color: rgb(255, 255, 255); display: inline
!important">Egemen U.</span></div>
<div id="ms-outlook-mobile-signature">
<div><br>
</div>
Get <a href="https://aka.ms/ghei36" moz-do-not-send="true">Outlook
for Android</a></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
face="Calibri, sans-serif" color="#000000"><b>From:</b>
sr-users <a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.kamailio.org"><sr-users-bounces@lists.kamailio.org></a> on behalf
of M Arqum CH <a class="moz-txt-link-rfc2396E" href="mailto:marqumch@gmail.com"><marqumch@gmail.com></a><br>
<b>Sent:</b> Tuesday, September 8, 2020 11:53:18 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users@lists.kamailio.org"><sr-users@lists.kamailio.org></a><br>
<b>Subject:</b> [SR-Users] Getting memory error on kamailio
v5.1.2 tm:Free fragment not found!</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hello Users,
<div><br>
</div>
<div> I am facing memory-related error on my Kamailio server,
using this kamailio version
<br>
kamailio -v<br>
version: kamailio 5.1.2 (x86_64/linux) <br clear="all">
<div>with -m 512 -M 32</div>
<div>childern=16</div>
<div><br>
</div>
<div>System Memory : 24 GB</div>
<div>System Cores: 12 </div>
<div><br>
</div>
<div>On console getting the following error :</div>
<div><br>
</div>
<div>Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]:
ERROR: <core> [core/mem/q_malloc.c:286]:
qm_find_free(): qm_find_free(0x7fdf51eb9000, 11320); Free
fragment not found!<br>
Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]: ERROR:
<core> [core/mem/q_malloc.c:419]: qm_malloc():
qm_malloc(0x7fdf51eb9000, 11320) called from tm:
h_table.c: build_cell(320), module: tm; Free fragment not
found!<br>
Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]: ERROR:
tm [t_lookup.c:1279]: new_t(): out of mem:<br>
Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]: ERROR:
tm [t_lookup.c:1422]: t_newtran(): new_t failed<br>
Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]: ERROR:
sl [sl_funcs.c:362]: sl_reply_error(): stateless error
reply used: No error (2/SL)<br>
</div>
<div><br>
</div>
<div>Please guide about the possible reason of failure or
its memory leakage, possible solution. </div>
<div><br>
</div>
<div>Thanks </div>
-- <br>
<div dir="ltr" class="x_gmail_signature">Regards
<div>M Arqum</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
<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>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
</body>
</html>