[asterisk-bugs] [Asterisk 0010480]: Memory leak when ODBC used for voicemail storage

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Aug 18 09:18:20 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10480 
====================================================================== 
Reported By:                bcnit
Assigned To:                Corydon76
====================================================================== 
Project:                    Asterisk
Issue ID:                   10480
Category:                   Applications/app_voicemail
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.10.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             08-17-2007 08:47 CDT
Last Modified:              08-18-2007 09:18 CDT
====================================================================== 
Summary:                    Memory leak when ODBC used for voicemail storage
Description: 
Using odbc for voicemail storage works perfectly, but results in Asterisk
grabbing approximately 450kb/min of memory.

Commenting out the
  odbcstorage=
  odbctable=
lines in voicemail.conf and then restarting Asterisk results in no memory
grabbing and (apart from the lack of voicemail), a perfectly stable
Asterisk.

An interesting aside is that when the memory usage gets really high (I saw
this at 80%), SIP peers start disappearing - 'sip show peers' shows less
and less devices (that's not that it shows more as 'UNREACHABLE' - they
just disappear from the list completely).

====================================================================== 

---------------------------------------------------------------------- 
 Corydon76 - 08-18-07 09:18  
---------------------------------------------------------------------- 
Please update to SVN branch 1.4 revision 79947 or later.  I have found an
ODBC memory leak and fixed it in that revision.  If the leak is not solved
with that revision, please reopen this bug and provide the requested
information. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
08-18-07 09:18  Corydon76      Note Added: 0069047                          
======================================================================




More information about the asterisk-bugs mailing list