[asterisk-bugs] [Asterisk 0017070]: asterisk is not closing unused RTP ports

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 23 16:25:13 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17070 
====================================================================== 
Reported By:                chiller
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17070
Category:                   Core/RTP
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.6 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 253205 
Request Review:              
====================================================================== 
Date Submitted:             2010-03-22 05:00 CDT
Last Modified:              2010-03-23 16:25 CDT
====================================================================== 
Summary:                    asterisk is not closing unused RTP ports
Description: 
i am using asterisk in a production-enviroment with 200+ concurrent calls.
Also a TC400B transcoding card from digium is installed. 
the issue i am seeing: asterisk is not closing the open files/used RTP
ports. So after 2 days all the ports(rtp.conf) or all the file (ulimit -n
32768) are full.
To give u an idea, please see the number of open ports, open files and
active sip dialogs, right now.

# netstat -tunap | grep asterisk | wc -l
# 21348

# ls -l /proc/<asterisk-pid>/fd | wc -l 
# 21392

*CLI> sip show channels
...
109 active SIP dialogs




======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016774 [patch] [regression] 1.6.1.13 and 1.6.1...
duplicate of        0017072 Asterisk 1.6.1.18 and 1.6.2.6 RTP BUG
====================================================================== 

---------------------------------------------------------------------- 
 (0119773) kvveltho (reporter) - 2010-03-23 16:25
 https://issues.asterisk.org/view.php?id=17070#c119773 
---------------------------------------------------------------------- 
Unfortunately the patch is not working for 1.6.1.18

I've just checked on a server where no more calls are active since 1-2
hours and there are lots of UPD ports tsill open: (extract from netstat
-a)

udp        0      0 *:42755                 *:*
udp        0      0 *:14596                 *:*
udp        0      0 *:16132                 *:*
udp        0      0 *:14597                 *:*
udp        0      0 *:16133                 *:*
udp        0      0 *:14474                 *:*
udp        0      0 *:16522                 *:*
udp        0      0 *:14475                 *:*
udp        0      0 *:16523                 *:*
udp        0      0 *:18444                 *:*
udp        0      0 *:16524                 *:*
udp        0      0 *:18445                 *:*
udp        0      0 *:16525                 *:*
udp        0      0 *:15886                 *:*
udp        0      0 *:15887                 *:*
udp        0      0 *:14994                 *:*
udp        0      0 *:14995                 *:*
udp        0      0 *:19862                 *:*
udp        0      0 *:19863                 *:* 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-23 16:25 kvveltho       Note Added: 0119773                          
======================================================================




More information about the asterisk-bugs mailing list