[asterisk-users] Asterisk in Production ?

Benoit Plessis benoit at plessis.info
Tue May 6 10:37:09 CDT 2008


Tilghman Lesher a écrit :
> On Tuesday 06 May 2008 09:30:50 Benoit Plessis wrote:
>   
>> 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 ?? ()
>> ....
>>     
>
> I'd love to see a 'bt full' on this one.
>   
Here it is, but since the AsteriskNow release has stripped the binary
i fear it won't be of much use:

#0  0xb705b658 in strcasecmp () from /lib/tls/libc.so.6
No symbol table info available.
#1  0x0809c579 in ast_readframe ()
No symbol table info available.
#2  0x0809defc in ast_streamfile ()
No symbol table info available.
#3  0x0805e786 in ast_control_streamfile ()
No symbol table info available.
#4  0xb698be5c in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#5  0x08298700 in ?? ()
No symbol table info available.
#6  0xb470aec0 in ?? ()
No symbol table info available.
#7  0xb698c1fc in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#8  0xb698c1fa in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#9  0x00000000 in ?? ()
No symbol table info available.
#10 0x00000000 in ?? ()
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
#12 0x00000bb8 in ?? ()
No symbol table info available.
#13 0x2f727669 in ?? ()
No symbol table info available.
#14 0x65696c63 in ?? ()
No symbol table info available.
#15 0x2f73746e in ?? ()
No symbol table info available.
#16 0x6a6e6f62 in ?? ()
No symbol table info available.
#17 0x2d72756f in ?? ()
No symbol table info available.
#18 0x6e656962 in ?? ()
No symbol table info available.
#19 0x756e6576 in ?? ()
No symbol table info available.
#20 0x6568632d in ?? ()
No symbol table info available.
#21 0x6f702d7a in ?? ()
No symbol table info available.
#22 0x62726577 in ?? ()
No symbol table info available.
#23 0x6974756f in ?? ()
No symbol table info available.
#24 0x2d657571 in ?? ()
No symbol table info available.
#25 0x76726573 in ?? ()
No symbol table info available.
#26 0x73656369 in ?? ()
No symbol table info available.
#27 0x696c632d in ?? ()
No symbol table info available.
#28 0x00746e65 in ?? ()
No symbol table info available.
#29 0x00000001 in ?? ()
No symbol table info available.
#30 0xb470af20 in ?? ()
No symbol table info available.
#31 0x081aa084 in ?? ()
No symbol table info available.
#32 0x0000001b in ?? ()
No symbol table info available.
#33 0x00000025 in ?? ()
No symbol table info available.
#34 0x00000028 in ?? ()
No symbol table info available.
#35 0xb698c1fc in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#36 0x00000000 in ?? ()
No symbol table info available.
#37 0xb698c1fa in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#38 0x0829c4a8 in ?? ()
No symbol table info available.
#39 0x00000bb8 in ?? ()
No symbol table info available.
#40 0x00000000 in ?? ()
No symbol table info available.
#41 0xb470aec0 in ?? ()
No symbol table info available.
#42 0x00000000 in ?? ()
No symbol table info available.
#43 0xb698c1fc in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#44 0xb698c1fa in ?? () from 
/usr/lib/asterisk/modules/app_controlplayback.so
No symbol table info available.
#45 0x00000000 in ?? ()
No symbol table info available.
#46 0x00000000 in ?? ()
No symbol table info available.
#47 0x00000000 in ?? ()
No symbol table info available.
#48 0x00000000 in ?? ()
No symbol table info available.
#49 0x08298700 in ?? ()
No symbol table info available.
#50 0xb705b631 in strcasecmp () from /lib/tls/libc.so.6
No symbol table info available.
#51 0x080c8740 in pbx_substitute_variables_helper ()
No symbol table info available.
#52 0x080cd170 in pbx_builtin_setvar_helper ()
No symbol table info available.
#53 0x080cf08e in ast_pbx_outgoing_exten ()
No symbol table info available.
#54 0x080fde65 in ast_inet_ntoa ()
No symbol table info available.
#55 0xb7f61560 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#56 0xb70ab67e in clone () from /lib/tls/libc.so.6
No symbol table info available.

>   
>> 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
>>     
>
> Ditto, bt full.
>   
#0  0x0809c9bc in ast_closestream ()
No symbol table info available.
#1  0x08085d91 in ast_hangup ()
No symbol table info available.
#2  0x080cd3d8 in pbx_builtin_setvar_helper ()
No symbol table info available.
#3  0x080cf08e in ast_pbx_outgoing_exten ()
No symbol table info available.
#4  0x080fde65 in ast_inet_ntoa ()
No symbol table info available.
#5  0xb7eec560 in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#6  0xb703667e in clone () from /lib/tls/libc.so.6
No symbol table info available.

>   
>> 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 ?? ()
>> ....
>>     
>
> This one may need valgrind to track down the problem, but please be sure
> to run 1.4.18 or later, as we've already fixed a problem that produced
> backtraces similar to this.
>
>   
>> 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...
>>     
>
> I don't see anywhere on that page that recommends that you try SVN trunk,
> only the latest SVN (which is probably confusing, but what is meant is to try
> the latest SVN in the 1.4 branch, which is the release branch.  Release
> candidates and releases are tagged directly off that branch).
>
>   
Ok, yes it has confused me




More information about the asterisk-users mailing list