[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:20:50 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:20 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0114907) kkm (reporter) - 2009-12-07 19:20
 https://issues.asterisk.org/view.php?id=16408#c114907 
---------------------------------------------------------------------- 
Right, thank you very much dant! 

So, what is the state of your patch? Has it made to the branches or not? I
see that mmichelson had reservations about it, and never responded to your
response to him. Do you consider his reservations valid? I have not read
the patch, I am just thinking about applying it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-07 19:20 kkm            Note Added: 0114907                          
======================================================================




More information about the asterisk-bugs mailing list