[asterisk-bugs] [Asterisk 0017255]: UDP ports not freed/ports leaking

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jun 3 04:47:28 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17255 
====================================================================== 
Reported By:                kvveltho
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17255
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.6.2.7-rc2 
JIRA:                       SWP-1410 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-28 06:23 CDT
Last Modified:              2010-06-03 04:47 CDT
====================================================================== 
Summary:                    UDP ports not freed/ports leaking
Description: 
The following is not fixed:

These release candidates resolve an issue with UDP ports not being freed,
per
issue https://issues.asterisk.org/view.php?id=16774
(https://issues.asterisk.org/view.php?id=16774)

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016774 [patch] [regression] 1.6.1.13 and 1.6.1...
====================================================================== 

---------------------------------------------------------------------- 
 (0122869) wdoekes (reporter) - 2010-06-03 04:47
 https://issues.asterisk.org/view.php?id=17255#c122869 
---------------------------------------------------------------------- 
frawd: sip show objects does not correlate to the UDP socket count

After the latest restart:

* date: tue 03:02 / wed 03:02 / thu 03:02
* active calls: 0 / 0 / 0
* processed calls: 7500 / 17099 / 26503
* udp sockets: 1 / 7 / 13
* static peer objects: 9 (all refcount 2) / 9 (all refcount 2) / 9 (all
refcount 2)
* dialog objects: 48 (all refcount 2) / 62 (all refcount 2) / 49 (all
refcount 2)


The SIP dialog count (sip show channels) always corresponds with the
dialog count in sip show objects.

This latest restart wasn't planned, so I lost a bit of history. The
previous log stated that it was using 52 sockets (friday, 2 active calls)
and 58 (saturday, 2 active calls). It does not seem to leak as heavily as
before I disabled the registrations.


Output of lsof -p for the mentioned points in time:

root at voipgrid-live0:~/fdlog# grep asterisk.*UDP Tue-0302.log 
asterisk 13620 asterisk   12u  IPv4           64350467      0t0      UDP
*:sip 
root at voipgrid-live0:~/fdlog# grep asterisk.*UDP Wed-0302.log 
asterisk 13620 asterisk   12u  IPv4           64350467      0t0      UDP
*:sip 
asterisk 13620 asterisk   73w  IPv4           65129850      0t0      UDP
*:17910 
asterisk 13620 asterisk   74u  IPv4           65129851      0t0      UDP
*:17911 
asterisk 13620 asterisk   75u  IPv4           65129852      0t0      UDP
*:4524 
asterisk 13620 asterisk  163w  IPv4           65370332      0t0      UDP
*:13206 
asterisk 13620 asterisk  190r  IPv4           65370333      0t0      UDP
*:13207 
asterisk 13620 asterisk  201r  IPv4           65370334      0t0      UDP
*:4565 
root at voipgrid-live0:~/fdlog# grep asterisk.*UDP Thu-0302.log 
asterisk 13620 asterisk   12u  IPv4           64350467      0t0      UDP
*:sip 
asterisk 13620 asterisk   30u  IPv4           66394165      0t0      UDP
*:14418 
asterisk 13620 asterisk   31u  IPv4           66394166      0t0      UDP
*:14419 
asterisk 13620 asterisk   32u  IPv4           66394167      0t0      UDP
*:4552 
asterisk 13620 asterisk   73w  IPv4           65129850      0t0      UDP
*:17910 
asterisk 13620 asterisk   74u  IPv4           65129851      0t0      UDP
*:17911 
asterisk 13620 asterisk   75u  IPv4           65129852      0t0      UDP
*:4524 
asterisk 13620 asterisk   98u  IPv4           66115116      0t0      UDP
*:15310 
asterisk 13620 asterisk   99u  IPv4           66115117      0t0      UDP
*:15311 
asterisk 13620 asterisk  100w  IPv4           66115118      0t0      UDP
*:4593 
asterisk 13620 asterisk  163w  IPv4           65370332      0t0      UDP
*:13206 
asterisk 13620 asterisk  190r  IPv4           65370333      0t0      UDP
*:13207 
asterisk 13620 asterisk  201r  IPv4           65370334      0t0      UDP
*:4565 


What else can I check? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-03 04:47 wdoekes        Note Added: 0122869                          
======================================================================




More information about the asterisk-bugs mailing list