Database connections

Martin Nyström via sr-users <[email protected]>
Newsgroups gmane.comp.voip.ser
Message-ID <GVXPR02MB116945E46D1E2AB01F38075A8F663A@GVXPR02MB11694.eurprd02.prod.outlook.com>
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!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.