[Asterisk-Users] Processor load spikes

mattf mattf at vicimarketing.com
Tue Feb 24 08:46:41 MST 2004


I captured a load spike graphically with ttyload in case anyone want s to
see what it looks like:

After hanging around at 0.50 load, it spiked up to 2.52 in less than 10
seconds. The only active processes before and during the spike were
asterisk-related.

below is a 10 second interval 12 minute snapshot of the load on my asterisk
machine

VICIast2               0.09, 0.24, 0.29   10:40:01       ttyload, v0.4.4

  3.00
  2.90
  2.81
  2.71
  2.61
  2.52         *
  2.42
  2.32
  2.23
  2.13          *
  2.03
  1.94
  1.84           *
  1.74
  1.65            *
  1.55
  1.45             *
  1.35
  1.26              *
  1.16               *
  1.06
  0.97                *
  0.87                 *
  0.77         *****                                      *
  0.68              *****                                  *
  0.58                   ******                             *
  0.48         *************** **********                *   **
  0.39                      * ********************************************
  0.29   ******              *** *              *********         *********
  0.19    ****                  * ***********                       * ****
  0.10        *                              ************                 *
  0.00
 
^10:32^10:33^10:34^10:35^10:36^10:37^10:38^10:39^10:4



MATT---


-----Original Message-----
From: Patrick [mailto:idefix at puzzled.xs4all.nl]
Sent: Monday, February 23, 2004 1:19 PM
To: asterisk-users at lists.digium.com
Subject: RE: [Asterisk-Users] Processor load spikes


On Mon, 2004-02-23 at 18:42, mattf wrote:
> Thanks for the response. I plan on trying Slackware on my backup/test
> asterisk server when I have a new backup server ready in a few weeks. I've
> noticed in some database machine testing that Slackware starts up in about
> half the time of RedHat and doesn't have all of that Redhat junk either.
> I'll post my results running Slackware after I've had time to test it.
> 
> When I said crashed I meant that the whole operating system crashed, so no
> backtrace possible.
> 
> Thanks,
> 
> MATT---

Hi Matt,

My RH9 box has never crashed although on some others running RH9 I've
seen load spikes also. The only similar situation I vaguely remember
from long ago was either related to using a T400P/E400P card on a
motherboard with the incorrect pci slot voltage or to a power supply
that couldn't cope with the extra load. Don't recall exactly anymore so
could be wrong but maybe worth keeping in mind.

I always do the following on a RH9 box:

* export LD_ASSUME_KERNEL=2.4.1 before you start asterisk.
  Alternatively you can build a plain vanilla 2.4.2x kernel from
  kernel.org and use that one

* turn off all unnecessary cron jobs. updatedb can have quite a
  field day with eating up I/O and keeping disks pretty busy and 
  iirc you may want to turn off the fam service also

* turn off all unnecessary services and remove all unnecessary
  modules from /etc/modules.conf


If you find the cause, please let us know.

Good luck,
Patrick

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



More information about the asterisk-users mailing list