[Asterisk-Users] Asterisk pins CPU

Jason Becker becker at telusplanet.net
Sun Feb 8 09:23:40 MST 2004


Hello All.

Many times I've done a "top" and found that Asterisk is pinning the CPU, 
even when Asterisk isn't being used (this is on a DEV box):

2044 root      15   0  5232 5228  2608 R    98.6  8.5 626:58   0 asterisk

I'm running a recent build of Asterisk on Slackware (2.4.24 kernel):

www*CLI> show version
Asterisk CVS-02/07/04-21:34:06 built by root at www on a i686 running Linux

A strace shows that it's 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)                          = 0
ioctl(0, SNDCTL_TMR_STOP, {B38400 opost isig icanon echo ...}) = -1 EIO 
(Input/o
utput error)

-end-

The machine does not have a soundcard and my /etc/asterisk/modules.conf has:

noload => chan_alsa.so
noload => chan_oss.so

If I restart asterisk all is well, for awhile. I'm not sure what 
triggers this behvaior. Anyone else getting this behavior?

I wish the lists were searchable... :(

Thanks.

Cheers

Jason












More information about the asterisk-users mailing list