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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 8 09:31:22 CST 2009


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-12-07 17:07 CST
Last Modified:              2009-12-08 09:31 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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0015716 [patch] chan_sip fails to destroy chann...
duplicate of        0015627 [patch] Asterisk runs out of sockets
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-08 09:31 ebroad         Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list