hbonath
Guru
- Joined
- Jan 24, 2012
- Messages
- 150
- Reaction score
- 40
Hey guys, one of my PBXs machines is having an issue where Asterisk is consuming 100% of the CPU somewhat randomly.
The only way to get it to settle down is to restart asterisk, which I've been doing with a 'core restart gracefully'
This particular system has about 80 users and is relatively busy, however the CPU usage doesn't seem to warrant actual CPU needs, it seems like something is getting stuck and overtaxing the CPU.
When the CPU is pegged out, what's surprising is that it doesn't seem to affect call quality at all.
This particular system is running the "other guys" distro, so please go easy on me!
I just trust this forum for this question way more then theirs!
Asterisk version is 1.8.21.0, CentOS 6.2.
Phones are mostly Aastra 6737i, with a few Aastra 610D SIP DECT devices.
Right now I'm running VoipMonitor as well as log watching to try to figure out if I can track the CPU spike to a specific device/app/user but I haven't been able to find any correlation up until this point.
I've also run some of the pstack stuff from this link: http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/
and haven't been able to see anything interesting when I view the offending thread.
It's driving me crazy, do any of you guys out there have some better/different methods for tracking down rogue high CPU usage from the asterisk process?
Thanks!
-Henry
The only way to get it to settle down is to restart asterisk, which I've been doing with a 'core restart gracefully'
This particular system has about 80 users and is relatively busy, however the CPU usage doesn't seem to warrant actual CPU needs, it seems like something is getting stuck and overtaxing the CPU.
When the CPU is pegged out, what's surprising is that it doesn't seem to affect call quality at all.
This particular system is running the "other guys" distro, so please go easy on me!
I just trust this forum for this question way more then theirs!
Asterisk version is 1.8.21.0, CentOS 6.2.
Phones are mostly Aastra 6737i, with a few Aastra 610D SIP DECT devices.
Right now I'm running VoipMonitor as well as log watching to try to figure out if I can track the CPU spike to a specific device/app/user but I haven't been able to find any correlation up until this point.
I've also run some of the pstack stuff from this link: http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/
and haven't been able to see anything interesting when I view the offending thread.
It's driving me crazy, do any of you guys out there have some better/different methods for tracking down rogue high CPU usage from the asterisk process?
Thanks!
-Henry