[Asterisk-Users] question about CPU usage
Bill Hamlin
bhamlin at gbne.net
Mon Mar 22 14:53:55 MST 2004
Nope same problem. I just started it and did a couple of ps aux's and got
this output:
[root at redhat2 root]# ps aux|grep ast
root 20140 91.6 1.3 115880 6676 ? R 15:43 1:10
asterisk -vvvvvgcd
root 20221 0.0 0.1 3572 628 pts/2 S 15:44 0:00 grep ast
[root at redhat2 root]# ps aux|grep ast
root 20140 92.3 1.3 115880 6676 ? R 15:43 1:13
asterisk -vvvvvgcd
root 20223 0.0 0.1 3568 624 pts/2 S 15:44 0:00 grep ast
[root at redhat2 root]# ps aux|grep ast
root 20140 91.7 1.3 115880 6676 ? R 15:43 1:16
asterisk -vvvvvgcd
root 20225 0.0 0.1 3572 628 pts/2 S 15:44 0:00 grep ast
[root at redhat2 root]# ps aux|grep ast
root 20140 92.4 1.3 115880 6676 ? R 15:43 1:18
asterisk -vvvvvgcd
root 20227 0.0 0.1 3572 628 pts/2 S 15:44 0:00 grep ast
[root at redhat2 root]# ps aux|grep ast
root 20140 92.6 1.3 115880 6676 ? R 15:43 1:20
asterisk -vvvvvgcd
root 20229 0.0 0.1 3572 628 pts/2 S 15:44 0:00 grep ast
[root at redhat2 root]#
> -----Original Message-----
> From: asterisk-users-admin at lists.digium.com
> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Scott Stingel
> Sent: Monday, March 22, 2004 4:36 PM
> To: asterisk-users at lists.digium.com
> Subject: RE: [Asterisk-Users] question about CPU usage
>
>
> I think Steve is referring to the following line:
>
> export LD_ASSUME_KERNEL=2.4.1
>
> If you put this in your command line before starting asterisk,
> you will get
> around the RH9 problem of leaving zombies when AGI processes quit. Other
> than that, I don't think it influences CPU load.
>
> Note that the line is not necessary for Fedora Core 1
>
> regards
> Scott
>
> Scott M. Stingel
> Emerging Voice Technology Inc.
> Palo Alto, California and London, England
>
> Email: scott "at" evtmedia.com
> URL: www.evtmedia.com
>
>
>
> >-----Original Message-----
> >From: asterisk-users-admin at lists.digium.com
> >[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Bill Hamlin
> >Sent: Monday, March 22, 2004 9:22 PM
> >To: asterisk-users at lists.digium.com
> >Subject: RE: [Asterisk-Users] question about CPU usage
> >
> >What is it about asterisk that makes this happen? My other
> >apps that wait
> >on a select take hardly any CPU time at all.
> >
> >I didn't find anything like "ldassume" using google. Can you
> >tell me more
> >about that?
> >
> >Thanks,
> >Bill.
> >
> >> -----Original Message-----
> >> From: asterisk-users-admin at lists.digium.com
> >> [mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Steven
> >> Critchfield
> >> Sent: Monday, March 22, 2004 4:07 PM
> >> To: asterisk-users at lists.digium.com
> >> Subject: Re: [Asterisk-Users] question about CPU usage
> >>
> >>
> >> On Mon, 2004-03-22 at 14:49, Bill Hamlin wrote:
> >> > I've had my asterisk running for a couple of weeks and just
> >> noticed that it
> >> > takes about 98% of the CPU time (Linux RH9). Is this what you
> >> would expect?
> >> > Is it just that the program is polling for things to do,
> >> calling "sleep(0)"
> >> > or something simlar so as to relinquish the machine but
> >> otherwise polling
> >> > like crazy?
> >>
> >> Do a google search. I believe there is a export line you
> >need for RH to
> >> behave more sanely. Something like ldassume_2_4_1. Or you
> >could switch
> >> to a more free distro and it will fix itself.
> >> --
> >> Steven Critchfield <critch at basesys.com>
> >>
> >> _______________________________________________
> >> Asterisk-Users mailing list
> >> Asterisk-Users at 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 at 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 at 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
>
More information about the asterisk-users
mailing list