Hi descartin,
We had a similar problem not long ago - see what is your current setting for SHM size:
https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.6.x/co…
It's possible that memory manager runs out of shared memory and raises `SIGABRT`,
causing Kamailio to crash. In our case, we had multiple cores dumped per crash - one of
parent raising `SIGABRT` and 2-3 from child processes hitting a race condition between
handling `SIGABRT` from parent and `SIGSEGV` raised internally from failed SHM operation.
We had to increase this setting significantly, but our use-case involves lots of `usrloc`
data in memory. It is possible that for your use-case you didn't have to tune SHM size
yet and hit the default limit just recently.
When tuning memory, you may also want to check out `-M` command line option:
https://github.com/kamailio/kamailio-wiki/blob/main/docs/cookbooks/5.6.x/co…
I haven't found corresponding parameter to configure this inside the routing script
like the one for SHM, and we had some problems later with `pkg` memory running low as
well.
You can check current memory usage with RPC commands, i.e.:
https://www.kamailio.org/docs/modules/5.6.x/modules/kex.html#kex.r.core.shm…
https://www.kamailio.org/docs/modules/5.6.x/modules/kex.html#kex.r.pkg.stats
Hope this helps :-)
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3593#issuecomment-1808145109
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3593/1808145109(a)github.com>