[asterisk-dev] Channel locking/unlocking

Hans Petter Selasky hselasky at c2i.net
Thu Apr 5 01:48:15 MST 2007


On Thursday 05 April 2007 10:02, Anton wrote:
> Guys,
> trying to find origin of regular the zaptel lockups,
> is that amount of channel locks/unlocks normal? It's generating gigabytes
> of log details in a few hours Asterisk 1.4.2+latest 1.4 zaptel svn
>

What you need to do is to make a dynamic list of all the mutexes used. Then 
you need to figure out the locking order, and see if the locking order is 
reversed. The FreeBSD project has this feature in the kernel, and it is very 
useful.

--HPS


More information about the asterisk-dev mailing list