[asterisk-bugs] [Asterisk 0016270]: [patch] Asterisk doesn't free udp ports

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 10 10:30:34 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16270 
====================================================================== 
Reported By:                corruptor
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   16270
Category:                   Core/Netsock
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Target Version:             1.4.29
Asterisk Version:           SVN 
JIRA:                       SWP-444 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-11-18 07:48 CST
Last Modified:              2009-12-10 10:30 CST
====================================================================== 
Summary:                    [patch] Asterisk doesn't free udp ports
Description: 
I've had this problem on 1.4.26 also.
I've recently upgraded to 1.6.0.17 and problem also exists here.
Concurrent number of calls is usually not more than 25. All calls are SIP
to SIP. 

Number of udp ports used by asterisk is growing. For example at the moment
of writing this note:
34 active channels
17 active calls
1871 calls processed

Total number of udp ports open  - 1023

At the other moment it could be a little bit lower but anyway it is
growing.

There are many queues and different ivrs on the server. We also use AMI
for originating calls for our CC. 
I've noticed that asterisk writes warnings to log, for example:
WARNING[26372] chan_sip.c: Trying to destroy
"6009EE42DD5A4BDA81A18571C82B76310x0ad20c43", not found in dialog list?!?!
I don't know if it's related or not.

Please help me to debug this problem.

Sorry if I've chosen the wrong category.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015403 [patch] Session timer is not activated
related to          0015627 [patch] Asterisk runs out of sockets
====================================================================== 

---------------------------------------------------------------------- 
 (0115036) svnbot (reporter) - 2009-12-10 10:30
 https://issues.asterisk.org/view.php?id=16270#c115036 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 234131

_U  branches/1.6.0/
U   branches/1.6.0/channels/chan_sip.c

------------------------------------------------------------------------
r234131 | tilghman | 2009-12-10 10:30:25 -0600 (Thu, 10 Dec 2009) | 23
lines

Merged revisions 234129 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r234129 | tilghman | 2009-12-10 10:24:26 -0600 (Thu, 10 Dec 2009) | 16
lines
  
  Merged revisions 234095 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r234095 | tilghman | 2009-12-10 10:08:20 -0600 (Thu, 10 Dec 2009) | 9
lines
    
    When we receive no response at all to our INVITE, allow the channel to
be destroyed.
    (closes issue https://issues.asterisk.org/view.php?id=15627, closes issue
https://issues.asterisk.org/view.php?id=15716, closes issue
https://issues.asterisk.org/view.php?id=16270, closes
issue https://issues.asterisk.org/view.php?id=15356, issue
https://issues.asterisk.org/view.php?id=16382)
     Reported by: falves11, corruptor, dant
     Patches: 
           20091209__issue15627__1.6.0.diff.txt uploaded by tilghman
(license 14)
           20091209__issue15627__1.4.diff.txt uploaded by tilghman
(license 14)
     Tested by: falves11
    Review: https://reviewboard.asterisk.org/r/446/
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=234131 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-10 10:30 svnbot         Checkin                                      
2009-12-10 10:30 svnbot         Note Added: 0115036                          
======================================================================




More information about the asterisk-bugs mailing list