RE: [Asterisk-Users] question about CPU usage

2004-03-24 Thread Martin Pycko
: 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

Re: [Asterisk-Users] question about CPU usage

2004-03-24 Thread Jason Becker
Back in February I found * pinning the CPU (Slackware 9.1, Feb CVS). I ran a strace and found that it was looping on this: -begin- write(1, \nUse STOP NOW to shutdown Asteri..., 35) = -1 EIO (Input/output erro r) write(1, *CLI , 6) = -1 EIO (Input/output error) read(0, , 1)

[Asterisk-Users] question about CPU usage

2004-03-22 Thread Bill Hamlin
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

Re: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Steven Critchfield
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

RE: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Bill Hamlin
PROTECTED] Behalf Of Steven Critchfield Sent: Monday, March 22, 2004 4:07 PM To: [EMAIL PROTECTED] 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

RE: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Scott Stingel
PROTECTED] On Behalf Of Bill Hamlin Sent: Monday, March 22, 2004 9:22 PM To: [EMAIL PROTECTED] 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

RE: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Ed Rubright
Of Bill Hamlin Sent: Monday, March 22, 2004 1:22 PM To: [EMAIL PROTECTED] 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

Re: [Asterisk-Users] question about CPU usage

2004-03-22 Thread James Coberly
export LD_ASSUME_KERNEL=2.4.1 - Original Message - From: Bill Hamlin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 22, 2004 4:22 PM Subject: RE: [Asterisk-Users] question about CPU usage What is it about asterisk that makes this happen? My other apps that wait

RE: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Eric Wieling
On Mon, 2004-03-22 at 15:22, Bill Hamlin wrote: I didn't find anything like ldassume using google. Can you tell me more about that? It's in the RedHat 9 RELEASE NOTES. -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 In a related story, the IRS has recently ruled that the

RE: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Bill Hamlin
Sent: Monday, March 22, 2004 4:36 PM To: [EMAIL PROTECTED] 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

Re: [Asterisk-Users] question about CPU usage

2004-03-22 Thread Walker Haddock
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