[Freeswitch-users] Status of mod_lua and dbh.release()

Steven Ayre steveayre at gmail.com
Wed Jan 16 21:17:50 MSK 2013


>
> We're seeing quite a free PostgreSQL 9.1 processes left.


How many is 'quite a few' (I assume that's what you meant).

The DB pool maintains a number of option persistent connections that are
reused - it would be normal to see a number of idle connections still open.





On 15 January 2013 21:03, Gavin Henry <gavin.henry at gmail.com> wrote:

> Hi all,
>
> Does this release the db handle like it says?
>
> dbh:release() (optional) releases the handle back to the pool so it
> can be re-used by another thread. This is also automatically done when
> the dbh goes out of scope and is garbage collected (for example when
> your script returns).
>
> We're seeing quite a free PostgreSQL 9.1 processes left.
>
> --
> http://www.suretecsystems.com/services/openldap/
> http://www.surevoip.co.uk
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130116/b000a8bf/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list