From: Henning Westerholt <henning.westerholt@1und1.de>
To: users@lists.kamailio.org
Cc: Juan Perez <jperezsip2008@yahoo.com>; myoung@redmonsters.net
Sent: Thursday, September 17, 2009 6:05:07 AM
Subject: Re: [Kamailio-Users] kamailio 1.4.3 slow
On Mittwoch, 16. September 2009, Juan Perez wrote:
> In another scenario in our secondary site I am using another Dell Poweredge
> 1950, with dual quad core almost at the same speed and 64 bits , same
> version of CentOS and it is working like a charm. A lot of calls and CPU
> idle almost 100% all the time. That is we decided to buy a more powerful
> server to have a more robust platform in our main site but we haven't been
> able to move forward with this because of the bad performance. Any other
> ideas guys ?
Hello Juan,
as this looks more like a hardware issue to me i'd try to find issue that causes this particular server to be that slow. Somewhere it must spend this time. Some ideas:
- Start kamailio with only one worker children, and then use strace to see what its doing when its hangs
- enable debugging (only for a few seconds if you've production load on the system) and then look to the timestamps where its spend the time
- use the benchmark module as Daniel already suggested
- try to replicate the setup in a lab environment and then use a load tester (e.g. sipp) to give some traffic to the system. then change certain parts of the configuration and setup to find the culprit
Cheers,
Henning