[Home]

Summary:ASTERISK-07465: SIP channels accumulating
Reporter:sedwards (sedwards)Labels:
Date Opened:2006-08-04 14:11:39Date Closed:2006-09-05 11:04:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) sip-bt
( 1) sip-bt-2
( 2) sip-history-2006-08-07-21-00-01
( 3) sip-history-2006-08-07-21-05-01
( 4) sip-history-2006-08-07-21-10-01
( 5) sip-show-channels
Description:Several times a day I have to stop my Asterisk 1.2.10 server because it accumulates SIP channels but stops processing calls. The calls are coming from a TTekelec-7000/r4.0.

****** ADDITIONAL INFORMATION ******

Asterisk does not crash, so I can't attach a "bt" from a crash so I attached to the Asterisk process and issued the "bt's" and attached the output to this bug report.
Comments:By: sedwards (sedwards) 2006-08-04 14:12:43

If I can provide more information, please let me know :)

By: Serge Vecher (serge-v) 2006-08-04 14:18:14

Can you please try the latest 1.2 svn branch. I wonder if the fix committed in r38611 will fix this issue.
http://lists.digium.com/pipermail/svn-commits/2006-July/015544.html

By: sedwards (sedwards) 2006-08-04 19:18:50

As requested, I'm running SVN-branch-1.2-r38825 now.

By: sedwards (sedwards) 2006-08-05 01:10:51

SVN-branch-1.2-r38825 crashed twice. I've uploaded "sip-bt-2."

Unfortunately I didn't think to compile with "dont-optimize" so if these don't have enough information, we'll have to wait for the next crash.

By: sedwards (sedwards) 2006-08-05 12:41:36

I'm still accumulating hundreds of channels. Asterisk appears to work fine as long as the load is low, when the load is high is when we accumulate channels.

BTW, I'm also having a problem with meetme (bug 7647). I don't know if it is related. The meetme bug crashes Asterisk and produces a core dump, this SIP problem just accumulates channels until Asterisk is unresponsive.

By: Olle Johansson (oej) 2006-08-07 03:29:06

I need to see a sip history of a call that hangs in the server, thank you.

By: sedwards (sedwards) 2006-08-07 23:39:55

These 3 sip-history files may be of some use. I set up the following script in cron to collect the data:

       /usr/sbin/asterisk -r -x "sip show channels"\
               | grep --extended-regexp "Call|None|SIP" --invert-match\
               | awk '{print "echo Call ID", $3, ";", "/usr/sbin/asterisk -r -x \"sip show history", $3, "\""}'\
               | sh\
               > /tmp/sip-history-`date +%F-%H-%M-%S`

By: Serge Vecher (serge-v) 2006-08-21 14:45:11

sedwards: there was a similar bug 6820 that was recently fixed by r38611 in 1.2 (this fix will be in the upcoming 1.2.11 release). Could you please check out the latest 1.2 branch code and give that fix a try? Thanks.

By: sedwards (sedwards) 2006-08-21 14:49:02

I'm just about to try SVN-trunk-r40395 on 2 of my servers. Will this include 1.2's r38611?

By: Serge Vecher (serge-v) 2006-08-21 15:07:17

surely will...

By: sedwards (sedwards) 2006-09-04 09:12:01

I upgraged to 1.2.11 and this does not appear to be an issue any more.