<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><DIV>I think that the "-" in front the log file makes it asynchronous right ?<BR></DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Juan Perez <jperezsip2008@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Henning Westerholt <henning.westerholt@1und1.de><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> users@lists.kamailio.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, September 16, 2009 12:17:41 PM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Kamailio-Users] kamailio 1.4.3 slow<BR></FONT><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>synch or asynch ? sorry, but how can I check?</DIV>
<DIV> </DIV>
<DIV>this is the section of the kamailio.conf</DIV>
<DIV> </DIV>
<DIV>debug=3<BR>log_stderror=no<BR>log_facility=LOG_LOCAL0</DIV>
<DIV> </DIV>
<DIV>and this is the section in the syslog.conf</DIV>
<DIV> </DIV>
<DIV># log messages with LOG_LOCAL0 in /var/log/ser.log<BR>local0.* -/var/log/proxy.log<BR></DIV>
<DIV><BR> </DIV>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><BR>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif"><FONT face=Tahoma size=2>
<HR SIZE=1>
<B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B> Henning Westerholt <henning.westerholt@1und1.de><BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> Juan Perez <jperezsip2008@yahoo.com><BR><B><SPAN style="FONT-WEIGHT: bold">Cc:</SPAN></B> users@lists.kamailio.org<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Wednesday, September 16, 2009 11:54:38 AM<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> Re: [Kamailio-Users] kamailio 1.4.3 slow<BR></FONT><BR>
<STYLE type=text/css>p, li {white-space:pre-wrap;}</STYLE>
On Mittwoch, 16. September 2009, Juan Perez wrote:<BR>> We disabled iptables completely to rule out that posibility and saw the<BR>> same situation.<BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>Hi Juan,<BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>> On another note, this is my understanding but I may be wrong, once kamailio<BR>> is started it loads all the routes [lcr module] and addresses [permissions<BR>> module] from the DB into memory. If the DB is not responsive would kamailio<BR>> be affected? If no changes are made in the DB that requieres an lcr_reload<BR>> or address_reload would Kamailio try to access the DB everytime a<BR>> transaction is to be processed?<BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>Ok, if you use modules that have a memory cache no database access should be done during runtime.<BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>> , Also, if this helps, we do not use DNS in our config, only IPs, and we<BR>> are not handling Registrations, it is being used as SIP trunking only <BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>Hm, ok.. But the SIP messages that you processing are use DNS names? Can you check with ngrep or tcpdump anyway if you've any DNS problems?<BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>Another thing could the logging, do you use asynchronous syslog logging?<BR>
<P style="MARGIN: 0px; TEXT-INDENT: 0px"><BR></P>Henning</DIV></DIV></DIV><BR></DIV></DIV></div><br>
</body></html>