[asterisk-users] High CPU load after upgrading to 1.4

xrem1x at optonline.net xrem1x at optonline.net
Thu Feb 21 15:12:41 CST 2008


Hi,

Since I upgraded from Asterisk 1.2.18 to 1.4.17 I've been experiencing
high CPU utilization from the chan_sip module.  I've notice the more sip
peers I have loaded, the higher the CPU load goes when there are no
active calls.  I am currently using a Pentium 4 3.0Ghz with CentOS 4
Kernel 2.6.9-42.0.2.EL.   I currently have 1558 sip peers loaded in
Asterisk and the current CPU load is 10% when no calls are being
processed and no sip registrations.  When calls are being processed it
is also higher than normal aside from CPU load when computer is idle.
Before the upgrade I never had a CPU load of 10% when there were no
calls being processed, it was always close to 0%.

When I install  CentOS 5 on a different computer with latest 32bit
kernel I am still able to reproduce the high CPU load.  But when I
install the x86_64 Kernel the high CPU load problem disappears.  It
appears that there must be a kernel setting that is causing the CPU to
spike up higher than normal for Asterisk 1.4.  Does anyone have an idea
on what could be causing this high CPU load?

Thanks,


Remi Quezada



More information about the asterisk-users mailing list