Yes, that option looks promising and I just enabled it. I'll watch it for
the next few days to see if that solve the problem.
Thanks!
-Ben
On Mon, Feb 11, 2019 at 2:38 PM Daniel-Constantin Mierla <miconda(a)gmail.com>
wrote:
Hello,
can you try with the next global parameter?
mem_join = yes
Cheers,
Daniel
On 11.02.19 22:57, Benjamin Roy wrote:
Hi, I'm hoping someone can guide me in the right direction.
In kamailio 5.2.1 I'm getting the following memory errors after a while
(hours or days) of sending messages with jsonrpc. Restarting kamailio
clears them for a while. Any suggestions on what I should change, or how to
better identify the issue?
24(6177) ERROR: <core> [core/mem/q_malloc.c:291]: qm_find_free():
qm_find_free(0x7f1cbe6fd000, 5712); Free fragment not found!
24(6177) ERROR: <core> [core/mem/q_malloc.c:425]: qm_malloc():
qm_malloc(0x7f1cbe6fd000, 5712) called from tm: h_table.c: build_cell(339),
module: tm; Free fragment not found!
24(6177) ERROR: tm [uac.c:422]: t_uac_prepare(): short of cell shmem
24(6177) ERROR: pua [send_publish.c:700]: send_publish(): in t_request tm
module function
24(6177) ERROR: pua_rpc [pua_rpc.c:280]: pua_rpc_publish_mode(): pua
send_publish failed
I have these buffer values in the config file
tcp_rd_buf_size=65536
pv_buffer_size=32768
and I'm running kamailio with these memory options "-m 1024 -M 16"
The jsonrpc message I'm sending look like this
{
"jsonrpc": "2.0",
"method": "pua.publish",
"params": [
"sip:172.1.1.3:5060;transport=tcp",
"300",
"reg",
"application/reginfo+xml",
".",
".",
".",
".",
"<?xml version='1.0' ?>
<reginfo state='partial' version='0'
xmlns='urn:ietf:params:xml:ns:reginfo' xmlns:xsi='
http://www.w3.org/2001/XMLSchema-instance'>
<registration aor='sip:55555@uw.edu' id='a19685'
state='active'>
<contact duration-registered='906' event='registered'
id='c19685--1732979172--1829864152-2' q='1.0' state='active'>
<uri>sips:55555@172.1.2.4:62270;transport=tls;avaya-sc-enabled
</uri>
<elin></elin>
</contact>
</registration>
</reginfo>
"
],
"id": 1
}
Thanks,
-Ben
_______________________________________________
Kamailio (SER) - Users Mailing
Listsr-users@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
Kamailio World Conference - May 6-8, 2019 --
www.kamailioworld.com
Kamailio Advanced Training - Mar 4-6, 2019 in Berlin; Mar 25-27, 2019, in Washington, DC,
USA --
www.asipto.com