Hi to the community,
We are starting to use database clusters and would like improve the availability of our kamailio server.
We are curretly running kamailio 4.1.9 and we noticed that if we reboot the database server, kamailio takes a llloong time to reconnect the mysql connection
and during this time, we fail to register. We see a lot of TCP connections in status CLOSING.
After a while, we see things going back to normal (> 30 min) but this is too long. Can someone give us advice ?
Has this issue been fixed in newer versions
On kamalio side we're using mysql clients
mysql-libs.x86_64 5.1.73-8.el6_8
We have set the following parameters:
modparam("db_mysql", "timeout_interval", 5) modparam("db_mysql", "ping_interval", 60) modparam("db_mysql", "auto_reconnect", 1)
Emmanuel