[asterisk-users] Avoiding deadlock

Vilius Adamkavicius vilius.adamkavicius at invade.net
Mon Nov 22 07:00:31 CST 2010


Hi Moises,

Thanks for your opinion.

However I still wouldn't want to agree that reducing debug logging is a
solution. Let me explain why, we are driving Asterisk using AMI and verbose
logging is simply not enough to investigate issues that arises with our
software or Asterisk itself. Also we are getting valuable information from
the debug logs in order to verify activities in our own logs. Printing
Avoiding deadlock message 12000 times in the logs makes system less
efficient and causes performance degradation due to massive I/O activity.
Would you say this should be ignored too?

I'm not implying that Avoiding deadlock is the problem here, maybe its
Asterisk debug logging?

Regards,
Vilius.

On 18 November 2010 03:35, Moises Silva <moises.silva at gmail.com> wrote:

> On Wed, Nov 17, 2010 at 9:56 AM, Vilius Adamkavicius <
> vilius.adamkavicius at invade.net> wrote:
>
>> Hi Chad,
>>
>> Thanks for your suggestions.
>>
>> However I believe decreasing logging, its just like closing your eyes and
>> ignoring what happening behind you, the problem is still there. Also
>> decreased logging will prevent from troubleshooting any other problems in
>> the future.
>>
>> Would you happen to know any potential causes for this message?
>>
>>
> The problem is you were just told by a Digium engineer who knows the code
> from many years back that is a debug message and there is nothing to worry
> about and you insist in believing this is a problem.
>
> If you want to know what the message means and why you should not worry you
> must understand what a lock is, what lock contention is and what a deadlock
> is.
>
> Moises Silva
> Senior Software Engineer
> Sangoma Technologies Inc. | 100 Renfrew Drive, Suite 100, Markham ON L3R
> 9R6 Canada
> t. 1 905 474 1990 x128 | e. moy at sangoma.com
>
>
>
> --
> _____________________________________________________________________
> -- 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/20101122/f193a8a1/attachment.htm 


More information about the asterisk-users mailing list