[Home]

Summary:ASTERISK-13438: CLI Freeze issue
Reporter:Max Alex (maxalex)Labels:
Date Opened:2009-01-23 00:12:26.000-0600Date Closed:2011-06-07 14:03:05
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:Hi All,
Asterisk Version:1.4.21
Operatiog system: centos 5.2
Zap device: Sangoma Technologies Corp. A104d QUAD T1/E1 AFT card

I am using asterisk 1.4.21  with iaxmodem and  hylafax which is used to send fax from my system with zap device.
I am facing a problem that some times my asterisk CLI got freeze and i am not able to get any information from asterisk.
I need to restart the asterisk compulsory to work it again.
And because of this my iaxmodems are also getting time out from asterisk.
Comments:By: Ruchir Brahmbhatt (ruchirb) 2009-01-23 05:39:16.000-0600

I've faced this issue in case of normal SIP calls scenario(without fax and zap) also.
Sometimes it even refuses to create new sip channels after occurrence of this issue.

By: Mark Michelson (mmichelson) 2009-01-23 13:45:53.000-0600

This sounds like it could be a potential deadlock. What I'll need is for you to recompile Asterisk with the DONT_OPTIMIZE and DEBUG_THREADS options selected in menuselect. When the problem occurs, from a terminal window issue the command `asterisk -rx core show locks` and upload the output from that command to this issue. Also, please upload the output of "thread apply all bt full" from gdb when this issue occurs. Thank you!

By: Max Alex (maxalex) 2009-01-24 02:33:43.000-0600

Asterisk is running on production system so does doing this will affect performance or stability in any way? If not then we can try recompiling asterisk with those flags to troubleshoot the issue.

By: Mark Michelson (mmichelson) 2009-01-26 09:13:36.000-0600

Turning on DONT_OPTIMIZE will not cause any performance problems. DEBUG_THREADS will cause a very small performance decrease. Neither of these options will negatively affect stability.

By: Joshua C. Colp (jcolp) 2009-03-04 14:16:06.000-0600

maxalex: Have you been able to get the needed information?

By: Max Alex (maxalex) 2009-03-04 22:35:34.000-0600

Hi,
Thanks for your important information
I have enabled this DONT_OPTIMIZE and DEBUG_THREADS in asterisk.
I was checking the performance for few days, and it has no issues after wards.

By: Leif Madsen (lmadsen) 2009-05-20 08:02:18

Is this still an issue? Were you able to get the information requested? If you are not able to reproduce, then we'll need to close this issue. Thanks!

By: Leif Madsen (lmadsen) 2009-05-26 10:07:05

Closed due to lack of response.