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? Thanks, Bill Hamlin.
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@basesys.com>
On Mon, Mar 22, 2004 at 03:49:29PM -0500, 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?http://lists.digium.com/pipermail/asterisk-dev/2003-December/002391.html -- ******** DataCrest, Inc. -- Technically Superior ****************** Walker Haddock http://www.datacrest.com DataCrest, Inc. e-mail: wh@datacrest.com 1634A Montgomery Hwy. phone: 1-888-941-3282, 1-205-335-8589 Birmingham, AL 35216 fax: 1-205-823-7838 ***********************************************************************