[asterisk-bugs] [Asterisk 0016224]: Thousands of Invites never discarded in sip channels

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Dec 2 07:01:01 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16224 
====================================================================== 
Reported By:                falves11
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16224
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-400 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 229360 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-11 14:27 CST
Last Modified:              2009-12-02 07:01 CST
====================================================================== 
Summary:                    Thousands of Invites never discarded in sip channels
Description: 
The scenario is very simple
We receive an INVITE
we respond Hangup(34)

after a few hours, if you type "ship show channels" you get thousand of
those failed invites, all identica, llike this:
208.X.X.X   7134239089  65745230093  00102/00000  0x0 (nothing)    No     
 Init: INVITE              
208.X.X.X   8633996336  41250481070  00102/00000  0x0 (nothing)    No     
 Init: INVITE              
208.X.X.X   4046670409  0403812114e  00102/00000  0x0 (nothing)    No     
 Init: INVITE              
208.X.X.X   7134239089  06060dc345a  00102/00000  0x0 (nothing)    No     
 Init: INVITE 
====================================================================== 

---------------------------------------------------------------------- 
 (0114512) vinsik (reporter) - 2009-12-02 07:01
 https://issues.asterisk.org/view.php?id=16224#c114512 
---------------------------------------------------------------------- 
Hey,

I seem to have similar problems, but they are not as persistent.

I was using ast-1.4.23.1 before and normal amount of open 
sip channels in my system is 30-80, but
after upgrading to 1.4.26.1 version, it has gone up from 200 and over.

Almost all of them are INVITE and OPTIONS messages.

Also after couple of days my asterisk died/stalled with errors like:

[Dec  2 13:52:22] ERROR[26901] chan_sip.c: Unable to build sip pvt data
for 'XXXXXX' (Out of memory or socket error)
[Dec  2 13:53:09] ERROR[2873] rtp.c: Unable to allocate socket: Too many
open files
[Dec  2 13:57:30] ERROR[2873] rtp.c: Unable to allocate socket: Too many
open files
[Dec  2 14:00:34] ERROR[2863] asterisk.c: Unable to create pipe: Too many
open files

So now i need to restart asterisk once a day.

I would gladly supply more info, but this is also a live system, so i have
my 
limitations.

Best regards, Vadim 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-12-02 07:01 vinsik         Note Added: 0114512                          
======================================================================




More information about the asterisk-bugs mailing list