[Asterisk-Users] Asterisk hogging CPU resources

Derek Beaumont dbeaumont at telantek.com
Tue Jun 24 06:52:02 MST 2003


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 CVS
upgrade
>>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 at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Mark Spencer
Sent: Monday, June 23, 2003 2:55 PM
To: asterisk-users at 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 at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list