Difference between revisions of "Asterisk eats all CPU"

From Kolmisoft Wiki
Jump to navigationJump to search
(Created page with '= Network problem = Change to correct ip in /etc/asterisk/h323.conf, restart Asterisk <br><br> = DDOS attack = Check sip debug. If a lot of packets come from one IP - block it…')
 
Line 5: Line 5:
<br><br>
<br><br>
= DDOS attack =
= DDOS attack =
Unload chan_sip.so module. If it helps - proceed.


Check sip debug. If a lot of packets come from one IP - block it.
Check sip debug. If a lot of packets come from one IP - block it.
Line 12: Line 14:


<br><br>
<br><br>
= Broken code =
= Broken code =



Revision as of 10:28, 25 November 2013

Network problem

Change to correct ip in /etc/asterisk/h323.conf, restart Asterisk



DDOS attack

Unload chan_sip.so module. If it helps - proceed.

Check sip debug. If a lot of packets come from one IP - block it.

Check if it helps.




Broken code

Check with: http://www.moythreads.com/wordpress/2009/05/06/why-does-asterisk-consume-100-cpu/

Investigate the module which causes it.

If not critical (like IAX2) -> unload it and check if it helps. Rinse and repeat if not.