Hi All, 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. Can anybody hint at what might be causing such a behaviour? Or a possible solution? Assuming it is a problem ofcourse. 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 Any help is highly appreciated. Hadi.
Leonardo Gomes Figueira
2005-Aug-24 09:01 UTC
[Asterisk-Users] chan_unical-MFC/R2 CPU usage problem
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 RamAlmost 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
Hadi Jadallah
2005-Aug-29 01:31 UTC
[Asterisk-Users] RE: chan_unical-MFC/R2 CPU usage problem
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@planetarium.com.br> > Subject: Re: [Asterisk-Users] chan_unical-MFC/R2 CPU usage problem > To: Asterisk Users Mailing List - Non-Commercial Discussion > <asterisk-users@lists.digium.com> > Message-ID: <430C99CB.5030108@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 > > > >
Leonardo Gomes Figueira
2005-Aug-29 05:12 UTC
[Asterisk-Users] RE: chan_unical-MFC/R2 CPU usage problem
Hi, Hadi Jadallah wrote:> 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.libtiff 3.5.7. Leonardo
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@planetarium.com.br> > > Subject: Re: [Asterisk-Users] chan_unical-MFC/R2 CPU usage problem > > To: Asterisk Users Mailing List - Non-Commercial Discussion > > <asterisk-users@lists.digium.com> > > Message-ID: <430C99CB.5030108@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 > > > > > > > > >
Hi there, i've become curious about chan_unical and found the information site at the wiki: http://www.voip-info.org/tiki-index.php?page=Asterisk+MFC+R2 . i understand that it uses a different architectue as zaptel with libpri and chan_zap. can anybody explain briefly the main advantage of chan_unical over chan_zap ?? thx in advance tobias