[SR-Users] Getting memory error on kamailio v5.1.2 tm:Free fragment not found!

M Arqum CH marqumch at gmail.com
Fri Sep 11 16:25:05 CEST 2020


Hello Denial ,

thank you for your reply ,  i  will work on update to 5.1.10, for time
being  i  increase the  -M to 256.

Thanks

On Wed, Sep 9, 2020 at 12:43 PM Daniel-Constantin Mierla <miconda at gmail.com>
wrote:

> Hello,
>
> 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.
>
> 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.
>
> Cheers,
> Daniel
> On 08.09.20 23:06, egemen ulus wrote:
>
> Hi,
>
> You can check statistics of shared memory on Kamailio. In this way, you
> can decide whether you need to increase your shmem or not..
>
> Type "kamctl stats shmem" on cli of Kamailio server and share the output..
>
> Regards
> Egemen U.
>
> Get Outlook for Android <https://aka.ms/ghei36>
> ------------------------------
> *From:* sr-users <sr-users-bounces at lists.kamailio.org>
> <sr-users-bounces at lists.kamailio.org> on behalf of M Arqum CH
> <marqumch at gmail.com> <marqumch at gmail.com>
> *Sent:* Tuesday, September 8, 2020 11:53:18 PM
> *To:* sr-users at lists.kamailio.org <sr-users at lists.kamailio.org>
> <sr-users at lists.kamailio.org>
> *Subject:* [SR-Users] Getting memory error on kamailio v5.1.2 tm:Free
> fragment not found!
>
> Hello Users,
>
>  I am facing memory-related error on my Kamailio  server, using  this
> kamailio version
> kamailio -v
> version: kamailio 5.1.2 (x86_64/linux)
> with -m 512 -M 32
> childern=16
>
> System Memory : 24 GB
> System Cores: 12
>
> On console getting the following error :
>
> 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!
> 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!
> Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]: ERROR: tm
> [t_lookup.c:1279]: new_t(): out of mem:
> Sep 08 14:40:29 debian /usr/sbin/kamailio[99894]: ERROR: tm
> [t_lookup.c:1422]: t_newtran(): new_t failed
> 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)
>
> Please guide about the possible reason of failure or its memory leakage,
> possible solution.
>
> Thanks
> --
> Regards
> M Arqum
>
> _______________________________________________
> Kamailio (SER) - Users Mailing Listsr-users at lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
> Funding: https://www.paypal.me/dcmierla
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Regards
M Arqum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20200911/18a5cf87/attachment.htm>


More information about the sr-users mailing list