[asterisk-users] Asterisk in Production ?

Benoit Plessis benoit at plessis.info
Tue May 6 09:30:50 CDT 2008


Tilghman Lesher a écrit :
> On Tuesday 06 May 2008 08:18:07 Benoit Plessis wrote:
>   
>> lordfuknowsyou a écrit :
>>     
>>> Vinícius Fontes wrote:
>>>
>>> I use 1.4.18 with no problems. We have quite a few users(125 total
>>> between branches), but the call volume at the most has been around 15
>>> active calls at a time.
>>>       
>> Any IAX2 phone or mostly SIP ?
>> Do you use Call Queues ?
>>
>> We have less user than that, less concurrent call but quite a few
>> crash/deadlocks
>>     
>
> Have you reported these issues on the bugtracker?
>
>   
Well, the problem is finding usefull data to report.

I've 4 core dumps thats show differents things:

two seems to be related to ControlPlayback:
#0  0xb705b658 in strcasecmp () from /lib/tls/libc.so.6
#1  0x0809c579 in ast_readframe ()
#2  0x0809defc in ast_streamfile ()
#3  0x0805e786 in ast_control_streamfile ()
#4  0xb698be5c in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
#5  0x08298700 in ?? ()
#6  0xb470aec0 in ?? ()
#7  0xb698c1fc in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
#8  0xb698c1fa in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
#9  0x00000000 in ?? ()
....

One is pretty generic:
#0  0x0809c9bc in ast_closestream ()
#1  0x08085d91 in ast_hangup ()
#2  0x080cd3d8 in pbx_builtin_setvar_helper ()
#3  0x080cf08e in ast_pbx_outgoing_exten ()
#4  0x080fde65 in ast_inet_ntoa ()
#5  0xb7eec560 in start_thread () from /lib/tls/libpthread.so.0
#6  0xb703667e in clone () from /lib/tls/libc.so.6


and the latest is thread/iax2 related:
#0  0xb7ee71c7 in pthread_mutex_trylock () from /lib/tls/libpthread.so.0
#1  0xb562a969 in ?? () from /usr/lib/asterisk/modules/chan_iax2.so
#2  0x00000079 in ?? ()
#3  0x00000000 in ?? ()
#4  0xb547a148 in ?? ()
#5  0x080f0508 in ast_sched_add_variable ()
#6  0xb5647c89 in ?? () from /usr/lib/asterisk/modules/chan_iax2.so
#7  0x00000012 in ?? ()
....


But my main problem is when the system just froze,
it start mostly by the Queue not working anymore, with member stuck in 
'in use' stack (should not happen
with IAX2 agent IIRC, given that we had to build macros using GROUP() to 
detect in use IAX2 agent)
Then the console (asterisk -rcTvvv) start to freeze (completion doesn't 
work, message stop from being displayed
and even command output is lost).

And i'm reading http://www.asterisk.org/developers/bug-guidelines which 
speak of using SVN trunk version of asterisk,
thing i'm not really eager to try on a live system...






More information about the asterisk-users mailing list