Hey!
Each Kamailio child process opens its own persistent MySQL connection.
You can use a local ProxySQL for connection pooling.

ср, 11 февр. 2026 г. в 16:43, Martin Nyström via sr-users <
[email protected]>:

> Hi,
>
> Is there a way to control the number of database connections kamailio
> opens using the db_mysql module? We only use the database connection when
> the service is started, and random XML-RPC reloads, so we have no need of
> having 10+ open database connections around the clock.
>
> Would a work-around be to set the ping_interval to a higher number than
> the mysql wait_timeout? Are there any implications of this? If there is no
> connection available I expect Kamailio to open one when needed.
>
>
>
>
>
> /M
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions --
> [email protected]
> To unsubscribe send an email to [email protected]
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
>


-- 

BR,
Denys Pozniak
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions -- 
[email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to