[asterisk-bugs] [Asterisk 0015756]: Asterisk 1.6.2 beta 4 has UDP socket leak when using Sip Timers

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Sep 11 01:21:00 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15756 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15756
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.1.7
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2 
SVN Revision (number only!): 9999 
Request Review:              
====================================================================== 
Date Submitted:             2009-08-21 09:31 CDT
Last Modified:              2009-09-11 01:20 CDT
====================================================================== 
Summary:                    Asterisk 1.6.2 beta 4 has UDP socket leak when using
Sip Timers
Description: 
With Sip Timers enabled, the linux count goes through the roof after a a
few hours. With only 30 calls the count gets to 5000+, while with Sip
Timers disabled (session-timers=refuse) it stays close to 100. This
problems takes down the entire Linux OS after a day or so, and also makes
Asterisk increasingly slow and CPU consuming. The command 'sip show
channels' shows only the right amount of dialogs, so this is not related to
an existing bug that deals with a similar, in appearance, problem. 
====================================================================== 

---------------------------------------------------------------------- 
 (0110560) oej (manager) - 2009-09-11 01:20
 https://issues.asterisk.org/view.php?id=15756#c110560 
---------------------------------------------------------------------- 
Chan_sip only has *one* open port for SIP over UDP. We listen, we receive
messages and keep it open. RTP media opens and closes UDP ports all the
time. I don't get how it can be related to session timers, but we will have
to find out.

I don't question the relationship you see to SIP timers at all. The
problem is that there's no direct relationship between the SIp signalling
and open/closing udp ports in the code. We open once when you load the SIP
channel and we close it when you shut down. In between, we might reopen
ports if you reload the configuration. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-11 01:20 oej            Note Added: 0110560                          
======================================================================




More information about the asterisk-bugs mailing list