<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Lucida Console'; font-size:9pt; font-weight:400; font-style:normal;">On Mittwoch, 16. September 2009, Juan Perez wrote:<br>
&gt; I installed kamailio in a pc with dual quad core @ 3.3GHz, 4 GB RAM and see<br>
&gt; that kamailio is very slow answering to INVITEs from the inbound carriers.<br>
&gt; The DEBUG is set to 3 and the idle CPU lowers only to 87% or 90 %, which is<br>
&gt; still decent but anyways the performance is very bad.<br>
&gt;<br>
&gt; This is the first time that I see this, I have it installed in other<br>
&gt; machines with less resources, same OS [CentOS 5.2 64 bits] and it is<br>
&gt; performing very very good. I know that a high debug level is a enemy but in<br>
&gt; my case is set to 3 like in the other system, and it is using the same<br>
&gt; configuration file. What other thing may affect the performance?<br>
&gt;<br>
&gt; I have made sure that it is not a network issue because the captures are<br>
&gt; taken in the same machine and I see multiples INVITEs hitting it and no<br>
&gt; response at all until more than 2 seconds<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Hi Juan,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>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?<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Cheers,<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Henning</p></body></html>