[asterisk-bugs] [JIRA] (ASTERISK-26682) Device State stay stuck - maybe deadlock

Alex (JIRA) noreply at issues.asterisk.org
Wed Dec 28 12:38:09 CST 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex updated ASTERISK-26682:
----------------------------

    Description: 
The issue  afflict a system that is a x86_64 machine used as callcenter.
Each Agent is assigned to many queues.

Occasionally appears this issue:
Asterisk doesn't read the correct state of the agents. It seems like asterisk queue some process and execute them with some delay.
Behaviour:
The free agents/users seem to be still connected, only they do not receive calls anymore.
The state of SIP device stuck to "inuse" causing asterisk not to send anymore call to the agent using this SIP Phone.
Some agents cannot change they state from ready to pause.
Sometimes if they are in conversation they are paused from asterisk while in conversation because a pause input they released minutes before and managed by asterisk after minutes.

We think that asterisk deadlocks.

We attach reports of
gdb -ex "thread apply all bt" --batch /usr/sbin/asterisk `pidof asterisk` > /tmp/backtrace-threads.txt
asterisk -rx "core show locks" > /tmp/core-show-locks.txt
asterisk -rx "core show threads" > /tmp/core-show-threads.txt

this seems related to 
https://issues.asterisk.org/jira/browse/ASTERISK-12036?jql=text%20~%20%22cannot%20pause%22

  was:
The issue  afflict a system that is a x86_64 machine used as callcenter.
Each Agent is assigned to many queues.

Occasionally appears this issue:
Asterisk doesn't read the correct state of the agents. It seems like asterisk queue some process and execute them with some delay
The agents/users seem to be still connected, only they do not receive calls anymore.
The state of SIP device stuck to "inuse" causing asterisk not to send anymore call to the agent using this SIP Phone.
Some agents cannot change they state from ready to pause.
Or if they are in conversation they are put in pause because a pause input they released minutes before.

We think that asterisk deadlocks.

We attach reports of
gdb -ex "thread apply all bt" --batch /usr/sbin/asterisk `pidof asterisk` > /tmp/backtrace-threads.txt
asterisk -rx "core show locks" > /tmp/core-show-locks.txt
asterisk -rx "core show threads" > /tmp/core-show-threads.txt

this seems related to 
https://issues.asterisk.org/jira/browse/ASTERISK-12036?jql=text%20~%20%22cannot%20pause%22


> Device State stay stuck - maybe deadlock
> ----------------------------------------
>
>                 Key: ASTERISK-26682
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26682
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.20.0
>         Environment: Asterisk  11.20.0
> Mysql 5.6
> CentOS release 6.7
>            Reporter: Alex
>         Attachments: backtrace-threads.txt, core-show-locks.txt, core-show-threads.txt
>
>
> The issue  afflict a system that is a x86_64 machine used as callcenter.
> Each Agent is assigned to many queues.
> Occasionally appears this issue:
> Asterisk doesn't read the correct state of the agents. It seems like asterisk queue some process and execute them with some delay.
> Behaviour:
> The free agents/users seem to be still connected, only they do not receive calls anymore.
> The state of SIP device stuck to "inuse" causing asterisk not to send anymore call to the agent using this SIP Phone.
> Some agents cannot change they state from ready to pause.
> Sometimes if they are in conversation they are paused from asterisk while in conversation because a pause input they released minutes before and managed by asterisk after minutes.
> We think that asterisk deadlocks.
> We attach reports of
> gdb -ex "thread apply all bt" --batch /usr/sbin/asterisk `pidof asterisk` > /tmp/backtrace-threads.txt
> asterisk -rx "core show locks" > /tmp/core-show-locks.txt
> asterisk -rx "core show threads" > /tmp/core-show-threads.txt
> this seems related to 
> https://issues.asterisk.org/jira/browse/ASTERISK-12036?jql=text%20~%20%22cannot%20pause%22



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list