Hello,

On 2/19/12 5:16 AM, graham wrote:
avp_db_query - closing the connection Hi all,

I have been using more and more avps for per-call queries populated by custom mysql queries.  I would like to know how the connections of mysql queries are being closed.
I tried to locate a command to do such, but unable to locate.  Do they close on their own, after a certain timeout period?  I am running kamailio 1.5.5, notls.

The proxies are getting busier and I want to keep all the resources in check ...
each process opens its own connection to the sql server, usually at startup, and closes it at shut down. mysql module has the capability to reconnect in case of connection getting broken.

Cheers,
Daniel
-- 
Daniel-Constantin Mierla -- http://www.asipto.com
http://linkedin.com/in/miconda -- http://twitter.com/miconda