What is the value of shared memory you set for kamailio (-m parameter)?
Maybe it is not sufficient for what you need to do.
Then what version of kamailio do you run (kamailio -v)?
The process that crashed (29438) has a different pid than the one
(29468) printing the memory errors, so may or may not be related.
On 14.09.17 20:36, Joe Baran wrote:
I feel fairly confident I’m running into a memory tuning issue, but
I’m struggling to determine the next step. Can someone give me some
guidance on how to adjust settings to allow the system to stop
crashing kamailio?
Sep 14 18:25:15 server1 kamailio[29468]: ERROR: <core>
[core/mem/q_malloc.c:292]: qm_find_free():
qm_find_free(0x7fa9eeeea000, 144); Free fragment not found!
Sep 14 18:25:15 server1 kamailio[29468]: ERROR: <core>
[core/mem/q_malloc.c:425]: qm_malloc(): qm_malloc(0x7fa9eeeea000, 144)
called from kazoo: kz_amqp.c: kz_amqp_async_query(1357), module:
kazoo; Free fragment not found!
Sep 14 18:25:15 server1 kamailio[29468]: ERROR: kazoo
[kz_amqp.c:1359]: kz_amqp_async_query(): failed to allocate
kz_amqp_cmd in process 29468
Sep 14 18:25:15 server1 kamailio[29468]: INFO: <script>:
kGddp3V0bA6nitnk25dB4w..|log|failed to send Kazoo query for
authentication xxxxxxxxxxxxxxxxxx
Sep 14 18:25:15 server1 kamailio[29468]: ERROR: tm [t_reply.c:494]:
_reply_light(): cannot allocate shmem buffer
Sep 14 18:25:15 server1 kamailio[29468]: ERROR: sl [sl.c:271]:
send_reply(): failed to reply stateful (tm)
Sep 14 18:25:16 server1 kamailio[29483]: CRITICAL: <core>
[core/pass_fd.c:277]: receive_fd(): EOF on 108
Sep 14 18:25:16 server1 kamailio[29360]: ALERT: <core> [main.c:743]:
handle_sigs(): child process 29438 exited by a signal 11
Sep 14 18:25:16 server1 kamailio[29360]: ALERT: <core> [main.c:746]:
handle_sigs(): core was not generated
Thanks,
Joe Baran
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio Advanced Training -
www.asipto.com
Kamailio World Conference -
www.kamailioworld.com