<span style="font-family: Arial, Helvetica, sans-serif; font-size: 10pt">Jonas<br />
<br />
Try asterisk -rnx "show locks" > /locks.txt<br />
<br />
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. <br />
<br />
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.<br />
<br />
<div>Thanks<br />
<br />
Bryant <br />
<br />
<br />
<span style="font-family: tahoma,arial,sans-serif; font-size: 10pt;"><hr width="100%" size="2" align="center" />
<b>From</b>: "Jonas Kellens" <jonas.kellens@telenet.be><br />
<b>Sent</b>: Monday, February 06, 2012 9:18 AM<br />
<b>To</b>: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users@lists.digium.com><br />
<b>Subject</b>: Re: [asterisk-users] Fwd: Re: Asterisk CLI unresponsive</span><br />
<br />
On 02/06/2012 03:19 PM, Paul Belanger wrote:<br />
> On 12-02-06 09:15 AM, Jonas Kellens wrote:<br />
>> On 02/06/2012 12:25 PM, isrlgb@gmail.com wrote:<br />
>>> Your running into a bug and the only way to solve it is to report it<br />
>>> and debug it and hope for a fix<br />
>>> There is no way someone can help without it being debugged and knowing<br />
>>> what's causing it to lockup<br />
>>><br />
>>> The only key to unlcock it when it gets locked is by restarting <br />
>>> asterisk<br />
>><br />
>> I am now using 1.6.2.22. Would I then be better upgrading to 1.8 ? Does<br />
>> 1.8 has fewer bugs ?!<br />
>><br />
> Showing us the deadlock is the best thing you can do right now.<br />
<br />
Paul,<br />
<br />
if the CLI is unresponsive, how can I show you the output of "show locks" ?<br />
<br />
<br />
Thanks.<br />
Jonas.<br />
<br />
--<br />
_____________________________________________________________________<br />
-- Bandwidth and Colocation Provided by http://www.api-digital.com --<br />
New to Asterisk? Join us for a live introductory webinar every Thurs:<br />
http://www.asterisk.org/hello<br />
<br />
asterisk-users mailing list<br />
To UNSUBSCRIBE or update options visit:<br />
http://lists.digium.com/mailman/listinfo/asterisk-users<br />
<br />
</div></span>