[Kamailio-Users] kamailio 1.4.3 slow
Daniel-Constantin Mierla
miconda at gmail.com
Wed Sep 16 17:45:18 CEST 2009
Hello,
On 16.09.2009 17:40 Uhr, Henning Westerholt wrote:
> On Mittwoch, 16. September 2009, Juan Perez wrote:
> > I installed kamailio in a pc with dual quad core @ 3.3GHz, 4 GB RAM
> and see
> > that kamailio is very slow answering to INVITEs from the inbound
> carriers.
> > The DEBUG is set to 3 and the idle CPU lowers only to 87% or 90 %,
> which is
> > still decent but anyways the performance is very bad.
> >
> > This is the first time that I see this, I have it installed in other
> > machines with less resources, same OS [CentOS 5.2 64 bits] and it is
> > performing very very good. I know that a high debug level is a enemy
> but in
> > my case is set to 3 like in the other system, and it is using the same
> > configuration file. What other thing may affect the performance?
> >
> > I have made sure that it is not a network issue because the captures are
> > taken in the same machine and I see multiples INVITEs hitting it and no
> > response at all until more than 2 seconds
>
>
> Hi Juan,
>
>
> i'd suspect that the server could not resolve DNS requests or has some
> issues accessing the database. Can you check with tcpdump that DNS
> resolves are not blocked somehow, and how the database responds?
as hint, using benchmark module is a way to discover which part of the
config file is slow:
http://kamailio.org/docs/modules/1.5.x/benchmark.html
Cheers,
Daniel
--
Daniel-Constantin Mierla
* http://www.asipto.com/
More information about the sr-users
mailing list