[Asterisk-Dev] clearing 'stuck' channels

James Sizemore james at deny.org
Fri Aug 29 07:08:52 MST 2003


Have you made a bug report on this?  What is the number?

John Todd wrote:

> Did you find any solutions to this?  I've recently discovered the same 
> problem with my server here.  I had 499 "sip show channels" entries, 
> and then Asterisk refused to start up any new sessions due to "Too 
> many files open".   In fact, 'reload' worked but didn't work, due to 
> the inability of the system to open any of the config files. I had to 
> shut Asterisk down to get things working again.  My CVS version was 
> four days old.
>
> I've updated to CVS as of two hours ago, and am watching to see if 
> this happens any more.  I think it has something to do with "REGISTER" 
> requests outbound from * not being cleared correctly, somehow.
>
> JT
>
>
>>     I'm seeing a case where I get a large number of 'stuck'
>> channels as it relates to users that sit behind poorly behaving
>> nat devices.
>>
>>     these calls tend to be initiated and have unidirectional
>> voice (eg: we can hear the user behind the nat, but not the
>> other way around ..)
>>
>>     this means that messages can't be sent to them (and get ACK)
>> saying that they will terminate the call, etc..
>>
>>     is there a way that i'm unaware of to time these out, or
>> is this what I think it is which is a bug where the call/channel gets
>> stuck until such time as it can be terminated?
>>
>>     - jared
>>
>> -- snip --
>>
>>     peer and dialed numbers munged to protect the innocent ;-)
>>
>> sip-server*CLI> sip show channels
>> Peer             User/ANR    Call ID      Seq (Tx/Rx)  Lag      
>> Jitter  Format
>> 10.0.0.1    662273    41ac7485598  00577/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662100     77f92ccd1cb  00577/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662596    1a6840f5592  00577/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    6620      17fc565515b  00577/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662273    41ac7485598  00576/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662100     77f92ccd1cb  00576/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662596    1a6840f5592  00576/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    6620      17fc565515b  00576/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662273    41ac7485598  00575/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662100     77f92ccd1cb  00575/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662596    1a6840f5592  00575/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    6620      17fc565515b  00575/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662273    41ac7485598  00574/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662100     77f92ccd1cb  
>> 00574/00000  00000ms  0000ms  UNKN 10.0.0.1    662596    1a6840f5592  
>> 00574/00000  00000ms  0000ms  UNKN 10.0.0.1    6620      17fc565515b  
>> 00574/00000  00000ms  0000ms  UNKN 10.0.0.1    662273    41ac7485598  
>> 00573/00000  00000ms  0000ms  UNKN 10.0.0.1    662100     
>> 77f92ccd1cb  00573/00000  00000ms  0000ms  UNKN 10.0.0.1    662596    
>> 1a6840f5592  00573/00000  00000ms  0000ms  UNKN 10.0.0.1    6620      
>> 17fc565515b  00573/00000  00000ms  0000ms  UNKN 10.0.0.1    662273    
>> 41ac7485598  00572/00000  00000ms  0000ms  UNKN 10.0.0.1    
>> 662100     77f92ccd1cb  00572/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662596    1a6840f5592  00572/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    6620      17fc565515b  00572/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662273    41ac7485598  00571/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662100     77f92ccd1cb  00571/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662596    1a6840f5592  00571/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    6620      17fc565515b  00571/00000  00000ms  0000ms  
>> UNKN
>> 10.0.0.1    662596    1a6840f5592  00217/00000  00000ms  0000ms  UNKN
>> 10.0.0.1    662273    41ac7485598  00217/00000  00000ms  0000ms  UNKN
>> 10.0.0.1    662100     77f92ccd1cb  00217/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    6620      17fc565515b  00217/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662596    1a6840f5592  00216/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662273    41ac7485598  00216/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662100     77f92ccd1cb  00216/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    6620      17fc565515b  00216/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662596    1a6840f5592  00215/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662273    41ac7485598  00215/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662100     77f92ccd1cb  00215/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    6620      17fc565515b  00215/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662596    1a6840f5592  00214/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662273    41ac7485598  00214/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662100     77f92ccd1cb  
>> 00214/00000  00000ms  0000ms  UNKN 10.0.0.1    6620      17fc565515b  
>> 00214/00000  00000ms  0000ms  UNKN 10.0.0.1    662596    1a6840f5592  
>> 00212/00000  00000ms  0000ms  UNKN 10.0.0.1    662273    41ac7485598  
>> 00212/00000  00000ms  0000ms  UNKN 10.0.0.1    662100     
>> 77f92ccd1cb  00212/00000  00000ms  0000ms  UNKN 10.0.0.1    6620      
>> 17fc565515b  00212/00000  00000ms  0000ms  UNKN 10.0.0.1    662596    
>> 1a6840f5592  00211/00000  00000ms  0000ms  UNKN 10.0.0.1    662273    
>> 41ac7485598  00211/00000  00000ms  0000ms  UNKN 10.0.0.1    
>> 662100     77f92ccd1cb  00211/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    6620      17fc565515b  00211/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662596    1a6840f5592  00210/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662273    41ac7485598  00210/00000  00000ms  0000ms  UNKN 
>> 10.0.0.1    662100     77f92ccd1cb  00210/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    6620      17fc565515b  00210/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662596    1a6840f5592  00209/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662273    41ac7485598  00209/00000  00000ms  0000ms  
>> UNKN 10.0.0.1    662100     77f92ccd1cb  00209/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    6620      17fc565515b  00209/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662596    1a6840f5592  00208/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662273    41ac7485598  00208/00000  00000ms  
>> 0000ms  UNKN 10.0.0.1    662100     77f92ccd1cb  00208/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    6620      17fc565515b  00208/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662596    1a6840f5592  00207/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662273    41ac7485598  00207/00000  
>> 00000ms  0000ms  UNKN 10.0.0.1    662100     77f92ccd1cb  
>> 00207/00000  00000ms  0000ms  UNKN 10.0.0.1    6620      17fc565515b  
>> 00207/00000  00000ms  0000ms  UNKN 10.0.0.2   "asterisk"  
>> 0d5df4d8420  00104/00103  00000ms  0000ms  UNKN
>>
>> -- 
>> Jared Mauch  | pgp key available via finger from jared at puck.nether.net
>> clue++;      | http://puck.nether.net/~jared/  My statements are only 
>> mine.
>> _______________________________________________
>> Asterisk-Dev mailing list
>> Asterisk-Dev at lists.digium.com
>> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev






More information about the asterisk-dev mailing list