[asterisk-users] Asterisk CLI unresponsive

Jonas Kellens jonas.kellens at telenet.be
Fri Feb 3 06:55:40 CST 2012


On 02/03/2012 01:46 PM, Steve Davies wrote:
> On 3 February 2012 12:12, Jonas Kellens<jonas.kellens at telenet.be>  wrote:
>> On 02/03/2012 01:05 PM, Mikhail Lischuk wrote:
>>
>> Jonas Kellens писал 03.02.2012 12:09:
>>
>>
>> using asterisk 1.6.2.22
>>
>> What is wrong with Asterisk when the CLI becomes unresponsive ?!
>>
>>
>> Greetings. I am using the same version, Asterisk 1.6.2.22
>>
>> IDK is your problem is same as mine. My CLI also becomes unresponsive
>> sometimes, however it does not affect calls at all. And all commands I type
>> get processed and output given after some time - 3 or 5 minutes.
>>
>> As I determined, this happens when Asterisk is rotating logs.
>>
>> You can see it by issuing `ps aux | grep asterisk` at that time.
>>
>> IDK if this is normal (due to logfile locks or whatever) or not.
>>
>>
>> Hello,
>>
>> my logs get rotated at 8h15, 12h15 and 17h15. The deadlock occurred at
>> 10h34. Don't think this is the relation between problem and deadlock.
>>
>> There is no more output on the CLI, so I don't see if the calls which are
>> going on are affected and are hang up.
>>
>>
> I think you are best to rebuild your asterisk with lock tracking
> enabled (it is one of the debug options) and then when it locks, do a
> "core show locks" and post it here.

This is a production server. Will it affect theserver ?I already have 
"dont_optimize" checked in the debug options.

Jonas.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20120203/25997a79/attachment.htm>


More information about the asterisk-users mailing list