<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    On 2/19/12 5:16 AM, graham wrote:
    <blockquote cite="mid:CB65D3A1.4CB78%25graham@g-rock.net"
      type="cite">
      <title>avp_db_query - closing the connection</title>
      <font face="Calibri, Verdana, Helvetica, Arial"><span
          style="font-size: 11pt;">Hi all,<br>
          <br>
          I have been using more and more avps for per-call queries
          populated by custom mysql queries. &nbsp;I would like to know how
          the connections of mysql queries are being closed.<br>
          I tried to locate a command to do such, but unable to locate.
          &nbsp;Do they close on their own, after a certain timeout period?
          &nbsp;I am running kamailio 1.5.5, notls.<br>
          <br>
          The proxies are getting busier and I want to keep all the
          resources in check ...<br>
        </span></font></blockquote>
    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.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>