[asterisk-bugs] [JIRA] (ASTERISK-21040) Deadlock

Modulus (JIRA) noreply at issues.asterisk.org
Mon Feb 25 10:41:19 CST 2013


    [ https://issues.asterisk.org/jira/browse/ASTERISK-21040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=203435#comment-203435 ] 

Modulus commented on ASTERISK-21040:
------------------------------------

We came into a similar situation (deadlock with no calling response, no invite/registers thru sip) on a Asterisk 10.12.1 system with Linux Debian Wheezy.

Since this happened on a production system we had to restart immediately, without taking any backtraces.
This happened only once (after 8 hours of Asterisk running) and until now (2-3 days since the event) it has not occurred again.
Now, we have written a script that checks the logs for SIP registrations, and if there are no any of them for some time, it will run gdb to take backtraces, and restart Asterisk.

We are using SIP channels, as well as Local channels.

In the time of the event, there were some active calls that started to hangup after a while, except for one which stuck indefinitely (until restart) into the system. However, according to the CDRs of our upstream provider, that particular call should have ended at 16 secs after being answered, exactly at the time that sip dialogues stopped coming.
By reproducing that particular call after the restart, 'core show channels' showed two SIP channels and four Local channels as expected, while, just before the restart, 'core show channels' showed only two SIP and one Local channels (the other three local channels were missing).

We are thinking that a deadlock happened at the time that the stuck call should have hangup, which maybe is related to the local channels associated with that call. Perhaps it would be useful to know if local channels are also used in Andrew Nowrot's case.

We will come back with backtraces, when that happens again.
                
> Deadlock
> --------
>
>                 Key: ASTERISK-21040
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-21040
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.2.0, 11.2.1
>         Environment: Linux Deban wheezy, kernel 3.2.34, x86_64 GNU/Linux
>            Reporter: Andrew Nowrot
>            Assignee: Andrew Nowrot
>         Attachments: backtrace-threads.txt, core-show-locks.txt
>
>
> Occasionally Asterisk is being deadlock (no calling response, no invite/registers thru sip). Sometimes it works for a week and sometimes only for several hours. The system load, CPU, RAM are fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list