[asterisk-users] Asterisk 1.62.13 - CPU spikes every 10 minutes

Mike list at net-wall.com
Fri Sep 24 18:23:48 CDT 2010


Thanks Shaun, but I'm not sure I understand everything you wrote...I can
understand that blaming Asterisk might be a Linux error, but it still
doesn't explain what does make the CPU usage shoot up like this. 

I am using 2.6.18-194.3.1.el5 (64 bits, CentOs), Asterisk 1.6.2.13 and DAHDI
Version: 2.3.0.1 Echo Canceller: MG2.

On that server I have a 4-port PCIE PRI card and a TCE400B card.  A few
hundred SIP peers, but nothing 1.4 couldn't handle easily (same server).

Mike

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Shaun Ruffell
> Sent: Friday, September 24, 2010 18:46
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Asterisk 1.62.13 - CPU spikes every 10
> minutes
> 
> On 09/24/2010 03:52 PM, Mike wrote:
> > I found that bug before I wrote, and I was hoping you were right, but
> > recreating those two missing "files" didn't help.  I wasn't running
> > 1.6.1 anyways, but I figured I'd try.
> >
> > There must be a way (Linux or Asterisk-centric) to see if a
> > particular thread/module is doing this?
> >
> 
> Not always. It may be that you are seeing a side effect of how the
> kernel accounts for time in each timeslice.  What versions (DAHDI /
> asterisk / kernel) are you using?  The 10 minute interval could be
> because of something like the kernel charging neighbour table scanning
> to the asterisk process.  These are just some thoughts though.
> 
> Regarding the time accounting specifically, there's been some talk
> recently on LKML to fix this behaviour "[PATCH 0/6] Proper kernel irq
> time accounting" http://thread.gmane.org/gmane.linux.kernel/1037168
> 
> Cheers,
> Shaun
> 
> --
> Shaun Ruffell
> Digium, Inc. | Linux Kernel Developer
> 445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
> Check us out at: www.digium.com & www.asterisk.org
> 
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>                http://www.asterisk.org/hello
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list