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

From: sr-users <sr-users-bounces@lists.kamailio.org> on behalf of M Arqum CH <marqumch@gmail.com>
Sent: Tuesday, September 8, 2020 11:53:18 PM
To: sr-users@lists.kamailio.org <sr-users@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