[Asterisk-Users] question about CPU usage

Ed Rubright ed at rubright.net
Mon Mar 22 14:37:30 MST 2004


Bill,

I think your looking for setting the environment variable
LD_ASSUME_KERNEL=2.4.1.

If I remember correctly this effectively disables the new NTPL (new
threading model) in RH9.

Hope this helps.

Ed

 

-----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 1: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




More information about the asterisk-users mailing list