<div dir="ltr"><div><div><div><div><div>Hi Daniel,<br><br></div>Thanks for the reply.<br></div>I was thinking about it as a signal for the Kamailio server being overloaded (i.e. spikes in the load)<br></div>Are there other options built in Kamailio that can be monitored to see when the server/proxy is overloaded? I think something like the rate of incoming messages may also be helpful?<br>

<br><br></div>Best,<br></div>Alireza<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 7:12 AM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    the SIP messages send on UDP/SCTP are received directly from the
    buffer in kernel one by one, each being processed once read. It is
    hard to know how many are waiting in the kernel.<br>
    <br>
    My question would be, when such information would really help? If
    kamailio is too busy handling traffic, won't get much time to care
    of other tasks (e.g., predict what is in network read kernel queue).<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 30/06/14 16:40, AliReza Khoshgoftar
      Monfared wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
            <br>
          </div>
          I had another simple question:<br>
          <br>
        </div>
        <div>In a kamailio server (proxy), how do I check the number of
          messages currently waiting for processing?<br>
          <br>
          <br>
        </div>
        <div>Is there a variable that I can monitor, say, if I want to
          make a routing decision in my config based on the number of
          messages in the queue?<br>
          <br>
        </div>
        <div>Also, is it possible to get a head count by method? or is
          it only possible after fully parsing the message?<br>
          <br>
        </div>
        <div>I see that "ratelimit" module uses similar information, but
          I am not sure how to get the status of these queues that the
          module uses.<br>
          <br>
        </div>
        <div>Thanks<br>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>