[asterisk-bugs] [Asterisk 0018014]: large memory consumption of udptl.c module

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 27 09:24:23 UTC 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18014 
====================================================================== 
Reported By:                under
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18014
Category:                   Channels/chan_sip/T.38
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.13 
JIRA:                       SWP-2284 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-09-18 05:35 CDT
Last Modified:              2010-12-27 03:24 CST
====================================================================== 
Summary:                    large memory consumption of udptl.c module
Description: 
sizeof(struct ast_udptl) = 167592.
This structure is allocated for each SIP leg in case if t38_udptl is
enabled.
For 600 calls this gives 600 * 2 * 167592 = 200M consumed even though NONE
of these calls transfers fax at the moment.

IMO this structure should be allocated only when fax starts.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018027 memory leak in chan_sip.c
related to          0018121 Early bind of UDPTL ports can create a ...
====================================================================== 

---------------------------------------------------------------------- 
 (0129982) under (reporter) - 2010-12-27 03:24
 https://issues.asterisk.org/view.php?id=18014#c129982 
---------------------------------------------------------------------- 
lmadsen, well it's not 1200 calls but 1200 channels :-) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-12-27 03:24 under          Note Added: 0129982                          
======================================================================




More information about the asterisk-bugs mailing list