[asterisk-bugs] [Asterisk 0016408]: Asterisk runs out of handles because of stuck SIP dialogs

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Dec 7 17:52:39 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16408 
====================================================================== 
Reported By:                kkm
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16408
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           Older 1.6.1 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-12-07 17:07 CST
Last Modified:              2009-12-07 17:52 CST
====================================================================== 
Summary:                    Asterisk runs out of handles because of stuck SIP
dialogs
Description: 
Asterisk version 1.6.1.6

A peer sent INVITE packets to our Asterisk box with invalid (in strict
sense) SIP URL, containing a space in its username part. Asterisk handled
these URL nominally, placed them into a queue, then tried to INVITE an
agent member of that queue.

The agent software (based on PJSIP 1.2) rejected the INVITEs without
answering (indicated in the log as "malformed header." The dialogs,
initiated by Asterisk, however, never went away from the list displayed by
"sip show channels". Every new channel was consuming
https://issues.asterisk.org/view.php?id=5#c2 OS handles. When
the number of channels reached about 500, asterisk became unusable.

Next time, when we blocked the peer trunk with 93 dialogs outstanding,
they did not go away by themselves for a few days before the Asterisk was
restarted.
====================================================================== 

---------------------------------------------------------------------- 
 (0114900) dant (reporter) - 2009-12-07 17:52
 https://issues.asterisk.org/view.php?id=16408#c114900 
---------------------------------------------------------------------- 
Dupe of https://issues.asterisk.org/view.php?id=15716 &
https://issues.asterisk.org/view.php?id=15627... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-07 17:52 dant           Note Added: 0114900                          
======================================================================




More information about the asterisk-bugs mailing list