[asterisk-users] Fwd: Re: Asterisk CLI unresponsive
Bryant Zimmerman
BryantZ at zktech.com
Mon Feb 6 08:30:49 CST 2012
Jonas
Try asterisk -rnx "show locks" > /locks.txt
If that does not work than your CLI process is completely gone and you are
done. I have bumped into these kind of CLI locks and it really sucks. I
have written a program to monitor for them and kill the asterisk process if
they occur then asterisk_safe will automatically start a new instance. It
does not happen for me very often may be once ever six month or so but on
production boxes a 30 sec outage is better than a long term lockup.
I am on an asterisk 1.8.x box (not current trunk yet) I had a lot more
issues with this when running 1.6.2.xx so I moved and most issues resolved
but every now and then it will happen. I have 20+ installed instances and
all but one has been moved to 1.8.x or higher.
Thanks
Bryant
----------------------------------------
From: "Jonas Kellens" <jonas.kellens at telenet.be>
Sent: Monday, February 06, 2012 9:18 AM
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
Subject: Re: [asterisk-users] Fwd: Re: Asterisk CLI unresponsive
On 02/06/2012 03:19 PM, Paul Belanger wrote:
> On 12-02-06 09:15 AM, Jonas Kellens wrote:
>> On 02/06/2012 12:25 PM, isrlgb at gmail.com wrote:
>>> Your running into a bug and the only way to solve it is to report it
>>> and debug it and hope for a fix
>>> There is no way someone can help without it being debugged and knowing
>>> what's causing it to lockup
>>>
>>> The only key to unlcock it when it gets locked is by restarting
>>> asterisk
>>
>> I am now using 1.6.2.22. Would I then be better upgrading to 1.8 ? Does
>> 1.8 has fewer bugs ?!
>>
> Showing us the deadlock is the best thing you can do right now.
Paul,
if the CLI is unresponsive, how can I show you the output of "show locks"
?
Thanks.
Jonas.
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120206/4ef05952/attachment.htm>
More information about the asterisk-users
mailing list