Hi all! I'm newbie, so here goes my situation: I have succefully compiled the cvs version as shown in asterisk website in some linux distros: Debian (2.4.22), Conectiva, Fedora Core 1 and in all of them, * starts and consumes all the cpu (on top). Does anybody know this issue? Thanks! Testa
Craig Waddington
2004-Jan-15 10:13 UTC
[Asterisk-Users] 100% of cpu in an out of the box *
Me too :( 100% CPU. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of F.G.Testa Sent: 14 January 2004 20:01 To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] 100% of cpu in an out of the box * Hi all! I'm newbie, so here goes my situation: I have succefully compiled the cvs version as shown in asterisk website in some linux distros: Debian (2.4.22), Conectiva, Fedora Core 1 and in all of them, * starts and consumes all the cpu (on top). Does anybody know this issue? Thanks! Testa _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Dave Kitchen
2004-Jan-16 02:02 UTC
[Asterisk-Users] RE: 100% of cpu in an out of the box *
Hi I posted a query about CPU usage some time ago. I have * on a Debian machine. I found that the chan_oss driver can consume 100% cpu - in the thread that calls ast_select(), the sounddev descriptor always releases the call, even if no data is present in the next read call. I did not trace the fault into the oss driver, since I only needed the console for ring-tone generation, and just stubbed out the descriptor from ast_select(). Dave Kitchen
Picking your tip, I just edited /etc/asterisk/modules.conf and uncommented the line "noload => chan_oss.so" since I'm not intend use sound cards for now. If I get some spare time, I'll try debugging into it. Thanks Dave. "Martin Pycko" <martinp@digium.com> wrote in message news:<Pine.LNX.4.33.0401151423310.11173-100000@hoochie>...> are you running safe_asterisk ? > If so try to modify safe_asterisk ... CONSOLE=yes to CONSOLE=no > > or if not > list all the asteirsk threads 'ps -axum | grep asterisk' > find the thread that takes the most CPU and connect with gdb > > gdb /usr/sbin/asterisk pid > > and do 'bt' > > and post the last few lines back ... > > Martin > > On Thu, 15 Jan 2004, Craig Waddington wrote: > > > Me too :( > > > > 100% CPU. > > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com > > [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of > > F.G.Testa > > Sent: 14 January 2004 20:01 > > To: asterisk-users@lists.digium.com > > Subject: [Asterisk-Users] 100% of cpu in an out of the box * > > > > Hi all! > > > > I'm newbie, so here goes my situation: > > I have succefully compiled the cvs version as shown in asterisk > > website in some linux distros: Debian > > (2.4.22), Conectiva, Fedora Core 1 and in all of them, * starts and > > consumes > > all the cpu (on top). > > Does anybody know this issue? > > > > Thanks! > > > > Testa > > > > > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > > http://lists.digium.com/mailman/listinfo/asterisk-users > > To UNSUBSCRIBE or update options visit: > > http://lists.digium.com/mailman/listinfo/asterisk-users > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.561 / Virus Database: 353 - Release Date: 13/1/2004