[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 19:38:54 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 19:38 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0114908) dant (reporter) - 2009-12-07 19:38
 https://issues.asterisk.org/view.php?id=16408#c114908 
---------------------------------------------------------------------- 
The patch hasn't as far as I'm aware been applied to any of the branches
yet... Issue https://issues.asterisk.org/view.php?id=15627 has been marked as
ready for review by Leif with the
comment 'It is marked as Ready for Review, and will be reviewed (and
potentially committed) as soon as time allows.' So hopefully when one of
the dev's gets time it can be reviewed and committed... 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-07 19:38 dant           Note Added: 0114908                          
======================================================================




More information about the asterisk-bugs mailing list