Here's the problem: I start asterisk, and it takes up around 3-4% of my CPU resources. However, this number continues to climb over the hours until it is close to 100%. Usually it takes around a day to climb up to approximately 95 or 96% Has anybody experienced the following problem before?
On Fri, 2003-06-20 at 08:32, Derek Beaumont wrote:> Here's the problem: > I start asterisk, and it takes up around 3-4% of my CPU > resources. > However, this number continues to climb over the hours until it > is close to 100%. > Usually it takes around a day to climb up to approximately 95 or > 96% > > Has anybody experienced the following problem before?What kind of interfaces are you using? I'm using zap and IAX on my main asterisk server that deals in about 300-400 calls a day without the cpu load you are seeing. -- Steven Critchfield <critch@basesys.com>
Yes, I have such a problem ..... On my asterisk box (P4 2.4MhZ) I'm doing SIP/SIP and H323/SIP (chan_h323) bridging up to 20-30 channels. Derek Beaumont wrote:> Here's the problem: > I start asterisk, and it takes up around 3-4% of my CPU > resources. > However, this number continues to climb over the hours until it > is close to 100%. > Usually it takes around a day to climb up to approximately 95 or > 96% > > Has anybody experienced the following problem before? > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
The interfaces I'm using are 2 X100Ps and a TDM400P -------------------------------------------------------------------- What kind of interfaces are you using? I'm using zap and IAX on my main asterisk server that deals in about 300-400 calls a day without the cpu load you are seeing. -- Steven Critchfield <critch@basesys.com> _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
The version of asterisk I am running is: Asterisk CVS-06/05/03-09:41:32 I am not 100% sure of how to update Asterisk. Do I just download using CVS, then run make clean make upgrade ? ----------------------------------------------------------------------- This blows my main idea of not having a timing source to keep asterisk from entering a busy loop. Are you running the most current CVS? I know there had been a bug some time back that caused every asterisk thread to open handles on /dev/zap/timer repeatedly and at some point my system had run out of file handles to give out and performance started sucking. A CVS upgrade fixed that. Oddly enough too was that it only happened on 1 of my 3 asterisk machines. On Fri, 2003-06-20 at 10:06, Derek Beaumont wrote:> The interfaces I'm using are 2 X100Ps and a TDM400P > > > > -------------------------------------------------------------------- > What kind of interfaces are you using? > > I'm using zap and IAX on my main asterisk server that deals in about > 300-400 calls a day without the cpu load you are seeing.-- Steven Critchfield <critch@basesys.com>
What is the recommended version of mpg123? I am running 0.59r -------------------------------------------- I just had this problem and Marin found it to be the fact that I was not running the recommended version of mpg123.... Try starting there John On Friday, June 20, 2003, at 12:03 PM, Steven Critchfield wrote:> This blows my main idea of not having a timing source to keep asterisk > from entering a busy loop. > > Are you running the most current CVS? I know there had been a bug some > time back that caused every asterisk thread to open handles on > /dev/zap/timer repeatedly and at some point my system had run out of > file handles to give out and performance started sucking. A CVSupgrade> fixed that. Oddly enough too was that it only happened on 1 of my 3 > asterisk machines. > > On Fri, 2003-06-20 at 10:06, Derek Beaumont wrote: >> The interfaces I'm using are 2 X100Ps and a TDM400P >> >> >> >> -------------------------------------------------------------------- >> What kind of interfaces are you using? >> >> I'm using zap and IAX on my main asterisk server that deals in about >> 300-400 calls a day without the cpu load you are seeing. > -- > Steven Critchfield <critch@basesys.com> > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users
What appears to be hogging CPU? What interfaces are you running? Mark On Fri, 20 Jun 2003, Derek Beaumont wrote:> Here's the problem: > I start asterisk, and it takes up around 3-4% of my CPU > resources. > However, this number continues to climb over the hours until it > is close to 100%. > Usually it takes around a day to climb up to approximately 95 or > 96% > > Has anybody experienced the following problem before? > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Below is the portion of the ps information about Asterisk. Note that Asterisk started out at less than 5% CPU, and after 1075:35, it is now at 74.6%. The interfaces I am using are 2 X100P, and a TDM40B.>>I know there had been a bug some >>time back that caused every asterisk thread to open handles on >>/dev/zap/timer repeatedly and at some point my system had run out of >>file handles to give out and performance started sucking. A CVSupgrade>>fixed that.I upgraded asterisk yesterday, and this problem still occurs. Also, I am not sure what is meant by opening handles on /dev/zap/timer; I don't have anything located at /dev/zap/timer. USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 9911 74.6 6.3 113296 7976 ? R Jun23 1075:35 asterisk -vvvcg root 9912 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9913 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9914 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9915 0.0 6.3 113296 7976 ? S Jun23 0:17 asterisk -vvvcg root 9916 0.0 4.0 7148 5176 ? S Jun23 0:01 /usr/bin/mpg123 - root 9917 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9918 0.0 0.8 3952 1076 ? S Jun23 0:00 /usr/bin/mpg123 - root 9919 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9920 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9921 0.7 6.3 113296 7976 ? S Jun23 10:07 asterisk -vvvcg root 9922 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9923 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9924 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9925 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9926 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg root 9928 0.1 6.3 113296 7976 ? S Jun23 1:34 asterisk -vvvcg root 9929 0.0 6.3 113296 7976 ? S Jun23 0:00 asterisk -vvvcg Any help is always appreciated. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Mark Spencer Sent: Monday, June 23, 2003 2:55 PM To: asterisk-users@lists.digium.com Subject: Re: [Asterisk-Users] Asterisk hogging CPU resources What appears to be hogging CPU? What interfaces are you running? Mark On Fri, 20 Jun 2003, Derek Beaumont wrote:> Here's the problem: > I start asterisk, and it takes up around 3-4% of my CPU > resources. > However, this number continues to climb over the hours until it > is close to 100%. > Usually it takes around a day to climb up to approximately 95 or > 96% > > Has anybody experienced the following problem before? > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >_______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users