Hey Everyone, I've been running a version of the CVS without issue until late last week when suddenly Asterisk would randomly hit 99% CPU and stop registering my DIDs. If I stop Asterisk with a 'stop now' and restart Asterisk all is well... for a bit. So far I have deducted the following. Happens randomly during day and night - not at present times nor frequency Happens when no calls are present (it is a very low usage test box) If console is left open with high verbosity no errors are reported, CPU usage just climbs to 99% and the DIDs die - I only know because of Nagios and the DIDs ring busy. 'top' clearly lists Asterisk as the CPU hog. both 'uptime' and 'top' confirm the usage and the culprit. The server is at a data centre and is hardly used. It is only used for Asterisk. I have looked at all the other logs and cannot find any thing else creating entries - mail, messages, boot, anything. As I said the server does very little so it would be easy to see other entries. The Asterisk logs show nothing out of the ordinary. The machine does not have any digium hardware in it, it uses SIP for inbound and IAX for outbound. Basic calling card and voicemail functions. I can move to a newer CVS but that seems like new variables... I know this one was working and still works on a local test box using the providers. I am mainly looking to find the best way to see where Asterisk is getting stuck (some type of loop?) J
I've heard this problem could be caused by the hold music. I forgot the name of the process mpeg or wavmpeg, something along those lines... ----- Dan Levine CYTEXONE | Your Technology Specialists t: 877.CYTEXONE x 810 l: 212.477.0990 x 810 e: dan@cytexone.com http://www.cytexone.com -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Moody Sent: Monday, April 18, 2005 9:57 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] 99% CPU - CVS 03.28.05 Hey Everyone, I've been running a version of the CVS without issue until late last week when suddenly Asterisk would randomly hit 99% CPU and stop registering my DIDs. If I stop Asterisk with a 'stop now' and restart Asterisk all is well... for a bit. So far I have deducted the following. Happens randomly during day and night - not at present times nor frequency Happens when no calls are present (it is a very low usage test box) If console is left open with high verbosity no errors are reported, CPU usage just climbs to 99% and the DIDs die - I only know because of Nagios and the DIDs ring busy. 'top' clearly lists Asterisk as the CPU hog. both 'uptime' and 'top' confirm the usage and the culprit. The server is at a data centre and is hardly used. It is only used for Asterisk. I have looked at all the other logs and cannot find any thing else creating entries - mail, messages, boot, anything. As I said the server does very little so it would be easy to see other entries. The Asterisk logs show nothing out of the ordinary. The machine does not have any digium hardware in it, it uses SIP for inbound and IAX for outbound. Basic calling card and voicemail functions. I can move to a newer CVS but that seems like new variables... I know this one was working and still works on a local test box using the providers. I am mainly looking to find the best way to see where Asterisk is getting stuck (some type of loop?) J _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
Are you running any AGI scripts? On 4/18/05, Moody <asterisk.user@gmail.com> wrote:> Hey Everyone, > > I've been running a version of the CVS without issue until late last > week when suddenly Asterisk would randomly hit 99% CPU and stop > registering my DIDs. > > If I stop Asterisk with a 'stop now' and restart Asterisk all is > well... for a bit. > > So far I have deducted the following. > > Happens randomly during day and night - not at present times nor frequency > Happens when no calls are present (it is a very low usage test box) > > If console is left open with high verbosity no errors are reported, > CPU usage just climbs to 99% and the DIDs die - I only know because of > Nagios and the DIDs ring busy. 'top' clearly lists Asterisk as the CPU > hog. both 'uptime' and 'top' confirm the usage and the culprit. > > The server is at a data centre and is hardly used. > It is only used for Asterisk. > I have looked at all the other logs and cannot find any thing else > creating entries - mail, messages, boot, anything. As I said the > server does very little so it would be easy to see other entries. The > Asterisk logs show nothing out of the ordinary. > > The machine does not have any digium hardware in it, it uses SIP for > inbound and IAX for outbound. Basic calling card and voicemail > functions. > > I can move to a newer CVS but that seems like new variables... I know > this one was working and still works on a local test box using the > providers. > > I am mainly looking to find the best way to see where Asterisk is > getting stuck (some type of loop?) > > J > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@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 >-- Mohit Muthanna [mohit (at) muthanna (uhuh) com] "There are 10 types of people. Those who understand binary, and those who don't."
thanks for the help... I knew I missed some info... Music on hold.. I am not using any form of it. As for AGIs... I do have AreskiCC installed but it is used for only some calls. I discounted it as being the culprit as the problem seems to occur even when no one is connected and for sure when the AGI is not active. It is the older AreskiCC version tho as I have had no incentive to upgrade it as we use it mainly for testing quality etc. Any clearer?