VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
js+asterisk at yllq.net Guest
|
Posted: Wed Jul 02, 2008 11:34 am Post subject: [asterisk-users] Asterisk Taking CPU resources |
|
|
Hi,
I have a strange problem, after some time my asterisk server starts
using more and more CPU resource and after some time it becomes
unusable. I need to kill the asterisk process before it renders the
whole system unusable.
I have a few SIP phones, IAX trunk to other system and voicemail running
on that server.
Now, how do I troubleshoot, which part of asterisk is causing the load
on CPU ?
I'm using latest Asterisk 1.4 from Gentoo VoIP portage overlay.
Kind Regards
--
Mateusz Pawlowski <js+asterisk at yllq.net> |
|
Back to top |
|
|
tzafrir.cohen at xorco... Guest
|
Posted: Wed Jul 02, 2008 12:06 pm Post subject: [asterisk-users] Asterisk Taking CPU resources |
|
|
On Wed, Jul 02, 2008 at 05:34:34PM +0100, Mateusz Pawlowski wrote:
Quote: | Hi,
I have a strange problem, after some time my asterisk server starts
using more and more CPU resource and after some time it becomes
unusable. I need to kill the asterisk process before it renders the
whole system unusable.
I have a few SIP phones, IAX trunk to other system and voicemail running
on that server.
Now, how do I troubleshoot, which part of asterisk is causing the load
on CPU ?
|
Do you see anything in the logs?
One thing to do is identifying which thread is confuming the CPU.
In top, use 'H' to see separate thread (or something like ps -eLf).
Also in top: is some of that time "system"? If so, this is not a pure
100% CPU loop, and strace may be able to provide some further hints.
You can then use:
strace -p <id of that thread>
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir |
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|