Absolutely like my experience. We also only saw the issue when using TLS in kamailio, not using SSL for mysql. the advice we received did not make sense but resolved the problem.

On Fri, 20 Oct 2023 at 14:49, Benoît Panizzon <benoit.panizzon@imp.ch> wrote:
Hi Antony

> Are you connecting to mysql?
>
> We had similar sounding issues and adding this to kamailio.cfg made a
> difference
> modparam( "db_mysql", "opt_ssl_mode", 1 )

I am using MySQL, but I didn't deliberately configure it to use SSL.

I'm using TLS for SIP client registration on port 5061. So I was
hunting the issue down that rabbit hole.

https://www.kamailio.org/docs/modules/devel/modules/db_mysql.html#db_mysql.p.opt_ssl_mode

I try to force disable SSL for mysql off by setting this to 1.

Restarted, let's observe for a hour or so. Usually the crashes occur
after restarting. At the moment all 4 dev registrars have restarted
without crashing in the first 2 or so minute. So this somehow looks
promising!

--
Mit freundlichen Grüssen

-Benoît Panizzon- @ HomeOffice und normal erreichbar
--
I m p r o W a r e   A G    -    Leiter Commerce Kunden
______________________________________________________

Zurlindenstrasse 29             Tel  +41 61 826 93 00
CH-4133 Pratteln                Fax  +41 61 826 93 01
Schweiz                         Web  http://www.imp.ch
______________________________________________________


--
Antony Russell

Tel  087 820 8113



https://www.telviva.co.za/legal/email-disclaimer