<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Alex,<br>
<br>
to understand what I meant with syslog and asyncronous, see next
tutorials:<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages">http://www.kamailio.org/dokuwiki/doku.php/tutorials:debug-syslog-messages</a><br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration">http://www.kamailio.org/dokuwiki/doku.php/utils:basic-syslog-configuration</a><br>
<br>
On 12/15/09 8:41 AM, alex pappas wrote:
<blockquote
 cite="mid:88b5e74c0912142341l318d7fb5qafebeca0bf868506@mail.gmail.com"
 type="cite">Daniel good morning,<br>
  <br>
The syslog I have is the standar centos installation. I don't
understand what you mean. The benchmark module I haven't use yet.(I
finding it a bit difficult to use :-( )<br>
BUT<br>
I found this:<br>
In my kamailio.cfg I had some extra logging fields (acc extra
accounting) in the mysql and also the cdr in mysql. That is giving
heavy load in mysql and I see many call failing. I disabled that and
now I have a CPS 40 with concurent calls 12.000. The failed calls are
11 only. This seems good. <br>
But even I'm NOT logging CDRs in mysql I still see mysql in 70% CPU
load and I don't understand why. I beleive that Kamailio when is
starting up is getting into memory all mysql data, in my case from
PDT,Dialplan and Dispatcher tables.<br>
  <br>
So the question now is why mysql is working so hard ?<br>
</blockquote>
<br>
Activate query logging for mysql and see what it does. Do you have any
authentication in the config?<br>
<br>
<blockquote
 cite="mid:88b5e74c0912142341l318d7fb5qafebeca0bf868506@mail.gmail.com"
 type="cite"><br>
I'm also sending you my kamailio.cfg because maybe you can see
something I haven't mention..<br>
</blockquote>
<br>
You haven't send it -- do it to private address, so you protect
confidential data like usernames, passwords, IPs, etc.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<blockquote
 cite="mid:88b5e74c0912142341l318d7fb5qafebeca0bf868506@mail.gmail.com"
 type="cite"><br>
Thanks for the great help ;-)<br>
  <br>
Alexandros<br>
  <br>
  <br>
  <div class="gmail_quote">On Mon, Dec 14, 2009 at 7:28 PM, alex pappas
  <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:rebel.pappas@gmail.com">rebel.pappas@gmail.com</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Daniel
i hope you are well.<br>
    <br>
Thank you for your help. I will check all these and get back to you
asap.<br>
    <font color="#888888"><br>
Alex</font>
    <div>
    <div class="h5"><br>
    <br>
    <br>
    <div class="gmail_quote">On Mon, Dec 14, 2009 at 5:32 PM,
Daniel-Constantin Mierla <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span>
wrote:<br>
    <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
      <div bgcolor="#ffffff" text="#000000">
Hello,
      <div><br>
      <br>
On 12/14/09 1:50 PM, alex pappas wrote:
      <blockquote type="cite">Daniel hi,<br>
        <br>
We don't have packet loss and the log level is 1.<br>
Concerning the the asyncronous loging: This should be set before
compilation?<br>
        <br>
"""""""""""""""""""""""<br>
        <a moz-do-not-send="true"
 href="http://openser.blogspot.com/2008/10/asynchronous-syslogging.html"
 target="_blank">http://openser.blogspot.com/2008/10/asynchronous-syslogging.html</a><br>
This functionality can be enabled with setting the define SYSLOG_ASYNC
in the Makefile.defs file. The default is the normal log functionality
from the system library, nothing changed if the define is not set.<br>
      </blockquote>
      </div>
no, it is not about this. By asynchronous syslog I meant the syslog
config in the system, nothing related to source code of kamailio.<br>
      <br>
If the log level is 1 then you should not see many syslog messages.<br>
      <br>
Maybe is better to use the benchmark module to identify where is the
delay coming from (if it is from kamailio config).<br>
      <br>
Cheers,<br>
      <font color="#888888">Daniel <br>
      </font>
      <div>
      <blockquote type="cite"><br>
        <br>
"""""""""""""""""""""""""""""""""<br>
        <br>
Cheers<br>
        <br>
Alex<br>
        <br>
        <br>
        <div class="gmail_quote">On Mon, Dec 14, 2009 at 2:31 PM,
Daniel-Constantin Mierla <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span>
wrote:<br>
        <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,

          <div><br>
          <br>
On 12/14/09 12:36 PM, alex pappas wrote:<br>
          <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear
users,<br>
            <br>
I'm using kamailio in the following scenario:<br>
            <br>
1. A call comes in and is checked against PDT module. From this module
depend from the prefix I'm getting back the domain which is used as the
dialplan group.<br>
2. After that the call is checked against Dialplan module using the
previous value from PDT as Dialplan dpid. From the Dialplan module i
get back &nbsp;the the attributes values.<br>
3. these attributes values are user in the dispathcher module where I
continue with failover scenarios.<br>
            <br>
Also the script is working with a radius for accounting purposes.<br>
            <br>
This scenario works perfecttly and it is still in a testing mode.<br>
            <br>
An the problem:<br>
            <br>
I'm running SIPP against this scenario and until the CPS is 5
everything looks good. The scenario for SIPP is the simplest. uac and
uas default. Uac is sending a call and uas is answering.<br>
When the CPS goes above 9 then I have call failures. All the statistics
are going down.<br>
I'm cheking for CPU load or other system problems but I don't see
anything strange. Does anyone understand why this is happening?<br>
          </blockquote>
          </div>
do you have high debug level? Is your syslog configured asyncronous?<br>
          <br>
Are network packets dropped from the network interface?<br>
          <br>
Cheers,<br>
Daniel<br>
          <font color="#888888"><br>
-- <br>
Daniel-Constantin Mierla<br>
* <a moz-do-not-send="true" href="http://www.asipto.com/"
 target="_blank">http://www.asipto.com/</a><br>
          <br>
          </font></blockquote>
        </div>
        <br>
      </blockquote>
      <br>
      <pre cols="72">-- 
Daniel-Constantin Mierla
* <a moz-do-not-send="true" href="http://www.asipto.com/"
 target="_blank">http://www.asipto.com/</a>
      </pre>
      </div>
      </div>
    </blockquote>
    </div>
    <br>
    </div>
    </div>
  </blockquote>
  </div>
  <br>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.kamailio.org">Users@lists.kamailio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a>
<a class="moz-txt-link-freetext" href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
* <a class="moz-txt-link-freetext" href="http://www.asipto.com/">http://www.asipto.com/</a>
</pre>
</body>
</html>