[SR-Users] avp_db_query - closing the connection

Daniel-Constantin Mierla miconda at gmail.com
Sun Feb 19 22:24:58 CET 2012


Hello,

On 2/19/12 5:16 AM, graham wrote:
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20120219/92af9134/attachment.htm>


More information about the sr-users mailing list