[Asterisk-Users] chan_unical-MFC/R2 CPU usage problem

Hadi Jadallah hadi at audiotelecom.net
Mon Sep 5 08:38:01 MST 2005


Hi,

I was running asterisk using the init.d script. Turns out if I don’t use the init.d script and run asterisk either directly 'asterisk -vvvvvvvvvg &' or putting safe_asterisk in rc.local then the cpu utilization problem does not happen anymore.

> 
> Hi,
> 
> My variant is standard ITU, I tried almost all versions I 
> could put my hand on to no avail.
> I tried also to profile the channel and related libraries to 
> no avail as my profiling skills on linux are abit lacking.
> If anybody with this problem and knows how to profile 
> multithreaded apps on linux then we might at least pinpoint 
> the location of the error.
> I cant realy put the machine into active duty if I cant solve 
> the problem.
> 
> Btw, what version of libtiff are you using? It difficult to 
> believe that it might be related as I don’t need the fax 
> functionality. Mine is the version that comes with CentOS 4.1 
> which is 3.6.1.
> 
> Hadi.
> 
> 
> > Message: 21
> > Date: Wed, 24 Aug 2005 13:01:15 -0300
> > From: Leonardo Gomes Figueira <sabbath at planetarium.com.br>
> > Subject: Re: [Asterisk-Users] chan_unical-MFC/R2 CPU usage problem
> > To: Asterisk Users Mailing List - Non-Commercial Discussion
> > 	<asterisk-users at lists.digium.com>
> > Message-ID: <430C99CB.5030108 at planetarium.com.br>
> > Content-Type: text/plain; charset=UTF-8; format=flowed
> > 
> > Hi,
> > 
> > Hadi Jadallah wrote:
> > > I have installed chan_unicall and MFC/R2 successfully, and 
> > is runnign fine.
> > > But I noticed that once unicall is installed, asterisk CPU 
> > usage as reported by 'top', jumps to 99% every few seconds.
> > > I have no incoming calls, and I have even removed the E1 
> > lines from card and I tried almost everything possible but I 
> > was not successful in determining the cause of this high cpu 
> > utilization.
> > 
> > It happens here too. But only when there is at least one 
> > Unicall channel 
> >   up. It does not happen on every call and I couldn't find a 
> > pattern yet.
> > 
> > > My setup includes:
> > > asterisk 1.0.9, libpri 1.0.9, and zaptel 1.0.9.1
> > > Unicall 0.0.3pre3 and tried unicall-0.0.2c
> > > Digium TE410p
> > > Intel SE7520BD2 with Xeon 3.4GHz, 2 Gig Ram
> > 
> > Almost the same setup here. The only difference is hardware. 
> > Soyo + P4 
> > 2.8 512MB.
> > 
> > You didn't specify your R2 variant. Here it's the brazilian and the 
> > Asterisk box is connected on an Ericsson MD110.
> > 
> > I'll upgrade to 0.0.3pre4 now. Maybe it's fixed in this version ?
> > 
> > Bye,
> > 
> > Leonardo
> > 
> > 
> > 
> > 
> 


More information about the asterisk-users mailing list