[asterisk-users] Asterisk 1.62.13 - CPU spikes every 10 minutes
Mike
list at net-wall.com
Fri Sep 24 15:17:42 CDT 2010
Thanks guys for caring enough to write.
Danny: I did check /var/log/messages/full . Nothing out of the ordinary.
Andrew: many hundreds of SIP peers are registering every 60 seconds (and have done so since 1.4). No problem there and it doesn't coincide with the 10 minute spikes anyways.
Core show threads doesn't show how busy the threads are, unfortunately. But I can't see a difference between normal and spiked CPU looking at that output.
Mike
> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-
> bounces at lists.digium.com] On Behalf Of Andrew Latham
> Sent: Friday, September 24, 2010 15:53
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [asterisk-users] Asterisk 1.62.13 - CPU spikes every 10
> minutes
>
> sip / other registrations...
>
> ~
> Andrew "lathama" Latham
> lathama at gmail.com
>
> * Learn more about OSS http://en.wikipedia.org/wiki/Open-source_software
> * Learn more about Linux http://en.wikipedia.org/wiki/Linux
> * Learn more about Tux http://en.wikipedia.org/wiki/Tux
>
>
>
> On Fri, Sep 24, 2010 at 3:40 PM, Mike <list at net-wall.com> wrote:
> > Hi,
> >
> >
> >
> > I've been getting regular CPU usage spikes(50%-80%), due to asterisk
> > (according to top).� I never noticed this on 1.4, and I have top running
> in
> > the background pretty much all the time. In between those spikes Asterisk
> > stays under 10% CPU usage (I have a transcoder card, which helps).
> >
> >
> >
> > It's very regular, never any missed spike, or any spike in between the
> > regular spikes.� I don`t have cron job running every 10 minutes
> > (asterisk-related or not).
> >
> >
> >
> > Because it's so regular, I don`t think it's anything in my dialplan.� If
> it
> > was it would be more random. SIP peers are reregistering every 60
> seconds,
> > so the spikes would be every minute if that was the problem.� There is no
> > "scheduled" attack from outside that I know of, network traffic
> (calculated
> > from the switch port and the server) does NOT spike. Memory is very
> stable
> > at a low value.
> >
> >
> >
> > Does anyone have an idea of where to start looking? Can Asterisk report
> > somehow what is causing this?
> >
> >
> >
> > Mike
> >
> >
> >
> > --
> > _____________________________________________________________________
> > -- 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
> >
>
> --
> _____________________________________________________________________
> -- 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