[Home]

Summary:ASTERISK-15851: asterisk is not closing unused RTP ports
Reporter:Christian Hiller (chiller)Labels:
Date Opened:2010-03-22 05:00:11Date Closed:2011-06-07 14:00:48
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/RTP
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
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



Comments:By: Kenneth Van Velthoven (kvveltho) 2010-03-22 08:23:09

I have the same issue:
https://issues.asterisk.org/view.php?id=17072

Hopefully something will be done ASAP about this as this BUG exists since at least 4 weeks in every new 1.6.1 and 1.6.2 release.  1.6.0. is not affected.

By: Leif Madsen (lmadsen) 2010-03-22 09:14:06

This sound suspiciously like ASTERISK-15581 -- please test the patch on that issue.

By: Kenneth Van Velthoven (kvveltho) 2010-03-23 16:25:13

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                 *:*

By: Leif Madsen (lmadsen) 2010-03-24 13:29:13

kvveltho: I'd suggest reporting that information to ASTERISK-15581

By: Kenneth Van Velthoven (kvveltho) 2010-03-24 13:42:39

Information reported to 0016774

By: Paul Belanger (pabelanger) 2010-04-28 16:07:05

Is this still an issue for the reporter?  Seems we already merged in the patch is a different issue.

By: Paul Belanger (pabelanger) 2010-05-25 15:24:22

Suspended due to lack of activity. Please request a bug marshal in #asterisk-bugs on the IRC network irc.freenode.net to reopen the issue should you have the additional information requested.

Further information can be found at http://www.asterisk.org/developers/bug-guidelines