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

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Dec 24 09:18:10 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:                     acknowledged
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:              
====================================================================== 
Date Submitted:             2009-11-18 07:48 CST
Last Modified:              2009-12-24 09:18 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
====================================================================== 

---------------------------------------------------------------------- 
 (0115762) corruptor (reporter) - 2009-12-24 09:18
 https://issues.asterisk.org/view.php?id=16270#c115762 
---------------------------------------------------------------------- 
Oops. Sorry. 
Asterisk really closes the ports. It closes them in several minutes after
call destruction so I didn't notice that at first time. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-24 09:18 corruptor      Note Added: 0115762                          
======================================================================




More information about the asterisk-bugs mailing list