[SR-Users] Over 100% of CPU usage on kamailio
Daniel-Constantin Mierla
miconda at gmail.com
Mon Jun 25 09:21:41 CEST 2012
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Seattle, USA, Sep 23-26, 2012 - http://asipto.com/u/katu
Kamailio Practical Workshop, Netherlands, Sep 10-12, 2012 - http://asipto.com/u/kpw
More information about the sr-users
mailing list