Hello,
On 6/24/12 10:50 PM, Konstantin M. wrote:
Hello,
Is there any reason to consume over 135% of CPU usage on kamailio ? (sreenshot: http://i48.tinypic.com/2u72hr8.png).
Any ideas ?
do you have heavy traffic on that instance? How many children have you configured?
What you can do is to attach with gdb to a process using lot of CPU and do the backtrace:
gdb /path/to/kamailio __pid__
Replace __pid__ with the PID of process eating the CPU. Then run bt
It may be a deadlock/infinite loop somewhere. I saw three processes in top, others were down with no much cpu usage. Is the SIP routing going fine anyhow when CPU usage is high? How do you solve it, by restart or it just appears from time to time and solves itself periodically?
Cheers, Daniel