ivozprovider icon indicating copy to clipboard operation
ivozprovider copied to clipboard

memory-related error on proxytrunk

Open maruqmch opened this issue 5 years ago • 3 comments

Hi Team

I am facing a memory-related error on proxytrunk server, installed ivoz 2.15 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/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/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

maruqmch avatar Sep 09 '20 09:09 maruqmch

Hi @maruqmch

Please, use provided templates for Bug reports, otherwise your issues will be automatically closed.

We haven't experienced memory problems with trunks proxy. We have fixed some memory leaks in proxyusers configuration, but our graphs show proxytrunks are quite stable.

Try increasing private memory from 32 to 256 and check what modules are taking the memory with:

# kamcmd-proxytrunks mod.stats all pkg
# kamcmd-proxytrunks mod.stats all shm

Regards!

Kaian avatar Sep 10 '20 09:09 Kaian

Hi Karan, Thanks for your comment, will check after increasing memory.

Regards

maruqmch avatar Sep 12 '20 12:09 maruqmch

Any news on this?

Found the memory leaking module?

Kaian avatar Nov 11 '20 10:11 Kaian