[Asterisk-Users] Asterisk CPU usage

Dave Alan Caruana david at melita.net
Fri Jun 27 04:43:10 MST 2003


hi there..
I have an asterisk installation with a PRI-E1 card
running EuroISDN, installed on a 1GHz Intel Celeron
box with 256Mbytes RAM.
CPU usage is stuck at 100% all the time, even with
no calls going through. Is this the normal ?
Running "top" reveals that the CPU allocation is
99.6% to Asterisk.

 13:41:48  up 17:55,  3 users,  load average: 1.07, 1.02, 1.00
44 processes: 43 sleeping, 1 running, 0 zombie, 0 stopped
CPU states:   0.0% user 100.0% system   0.0% nice   0.0% iowait   0.0% idle
Mem:   247188k av,  239664k used,    7524k free,       0k shrd,  126572k
buff
                    173676k actv,       0k in_d,    2932k in_c
Swap:  522104k av,    2680k used,  519424k free                   67164k
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME CPU COMMAND
 2569 root      22   0  4712 4712   456 S    99.8  1.9  1069m   0 asterisk
    7 root      15   0     0    0     0 SW    0.2  0.0   0:24   0
kscand/Normal
    1 root      15   0   108   88    56 S     0.0  0.0   0:03   0 init
etc.

Second question is this :
my asterisk server is currently configured to receive calls, and immediately
forward them to a SIP hosts (an ITSP server in USA) that requires input
via an IVR. Sometimes this works fine, but many times the connection just
drops while typing in codes. Once a connection is established (ie. got
past the IVR stage) the connection never drops ..

help welcome :)

cheers
Dave





More information about the asterisk-users mailing list