[asterisk-dev] realtime architecture blocks iax network thread
Joshua Colp
jcolp at digium.com
Thu Jul 6 07:41:03 MST 2006
On 7/6/06 5:50 AM, "Dawid Mielnik" <dmielnik at voiceware.pl> wrote:
>
>> This is actually fixed in trunk, chan_iax2 has been multithreaded instead
>> of
>> using a single thread. It wasn't put in 1.2 because 1.2 is only for bug
>> fixes, not new experimental features.
>>
>
> Thanks - the new multithreaded implementation looks much better - but it
> seems it's still far from stable.
> After a few hours on a test server - practically no load, iax simply stopped
> working at the same time 'iax2 show calls' returned nothing while 'iax2 show
> netstats' showed statistics for calls that werent there (not talking about
> the (none) records).
Okay, can you do an iax2 show threads? This will show what each thread is up
to in the channel driver. As well turning on debug in logger.conf would be
helpful. Gather the information you can from those and post it back. Once
that is done try this: comment out #define SCHED_MULTITHREADED in
chan_iax2.c -- ie:
//#define SCHED_MULTITHREADED
That will switch the channel driver into a partial multithreaded and if it
works fine for you then we know where the issue is.
--
Joshua Colp
Software Developer
Digium
P - 256-428-6066
C - 506-878-0147
jcolp at digium.com
More information about the asterisk-dev
mailing list