[asterisk-bugs] [Asterisk 0018014]: large memory consumption of udptl.c module
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon Dec 27 09:41:47 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:41 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 ...
======================================================================
----------------------------------------------------------------------
(0129986) schmidts (manager) - 2010-12-27 03:41
https://issues.asterisk.org/view.php?id=18014#c129986
----------------------------------------------------------------------
i have done some load tests with and without these udptl allocation in
sip_alloc and its much faster without it. so if we can make sure that we
have the udptl structure when we need it, it should be removed from the
sip_alloc function.
but look at issue 18121 for this discussion.
Issue History
Date Modified Username Field Change
======================================================================
2010-12-27 03:41 schmidts Note Added: 0129986
======================================================================
More information about the asterisk-bugs
mailing list