Hello,

On 11.02.26 15:54, Martin Nyström via sr-users wrote:
> 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.

what are the modules that you use and need database connections?
Normally, if a module does not do queries to database when handling sip
traffic, it should not keep the connection open.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla (@ asipto.com)
twitter.com/miconda -- linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services -- asipto.com
Kamailio World Conference, May 7-8, 2026 - Berlin, Germany -- kamailioworld.com
__________________________________________________________
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