[asterisk-bugs] [Asterisk 0012704]: ODBC connections are not being pooled or reused.

noreply at bugs.digium.com noreply at bugs.digium.com
Fri May 23 13:09:43 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12704 
====================================================================== 
Reported By:                falves11
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   12704
Category:                   Resources/res_odbc
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 117297 
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             05-21-2008 16:15 CDT
Last Modified:              05-23-2008 13:09 CDT
====================================================================== 
Summary:                    ODBC connections are not being pooled or reused.
Description: 
This is what I observe after using version 117297 in production: the number
of connections grow about 60 a day, but I have just a few calls open on the
server. If they were reused, the max amount of connections should not grow
to more tha maybe 20 or less, since I don't need to hit the database at the
same time. So there is a loose end here somewhere. The pool does not reuse
the connections properly or cannnot tell if they are idle. 
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 05-23-08 13:09  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 118130

_U  branches/1.6.0/
U   branches/1.6.0/res/res_odbc.c

------------------------------------------------------------------------
r118130 | tilghman | 2008-05-23 13:09:38 -0500 (Fri, 23 May 2008) | 11
lines

Merged revisions 118129 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r118129 | tilghman | 2008-05-23 13:09:14 -0500 (Fri, 23 May 2008) | 3
lines

Protect the object from changing while the 'odbc show' CLI command is
running
(Closes issue http://bugs.digium.com/view.php?id=12704)

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=118130 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
05-23-08 13:09  svnbot         Note Added: 0087269                          
======================================================================




More information about the asterisk-bugs mailing list