<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I was not checking so far the ws/wss connections, but you can
    probably rely on tcp stats, because ws/wss are on top of tcp layer.<br>
    <br>
    You can run the tcp-related rpc commands via kamcmd:<br>
    <br>
    -
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/docs/docbooks/4.1.x/rpc_list/rpc_list.html#core.tcp_info">http://www.kamailio.org/docs/docbooks/4.1.x/rpc_list/rpc_list.html#core.tcp_info</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 10/09/14 19:44, Luis F Urrea wrote:<br>
    </div>
    <blockquote
cite="mid:CAB2KLyfgSKoKmYu2jb8ZkERdtyyn4KVz_L0A8hcoRW+G0DTjXA@mail.gmail.com"
      type="cite">
      <div dir="ltr">Any ideas are welcome.
        <div><br>
        </div>
        <div>I wanted to try to get input from someone familiar with the
          websockets module as these statistics seem rather bogus from
          the comparison with netstat connections.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Mon, Sep 8, 2014 at 12:09 PM, Luis F
          Urrea <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:lfurrea@gmail.com" target="_blank">lfurrea@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 dir="ltr">Hello
              <div><br>
              </div>
              <div>I have a question in regards monitoring websocket
                connections on a production box.</div>
              <div><br>
              </div>
              <div>We ususally trust whatever is indicated through the </div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div>$ kamctl fifo get statistics<br>
              </div>
              <div><br>
              </div>
              <div>We've seen that this is what the community
                contributed munin plugins use. However when trying to
                monitor web socket connections and using this output
                we've seen completely different results from the output
                of</div>
              <div><br>
              </div>
              <div>$ kamctl fifo get_statistics</div>
              <div><br>
              </div>
              <div>websocket:ws_current_connections<br>
              </div>
              <div><br>
              </div>
              <div>Which seem to indicate current websocket connections
                and the output of</div>
              <div><br>
              </div>
              <div>$ kamctl fifo ws.dump<br>
              </div>
              <div><br>
              </div>
              <div>Which seems to indicate current OPEN connections.</div>
              <div><br>
              </div>
              <div>Can anybody shed some light as to what are the
                differences between both if any, and advice which one is
                the proper one to monitor for possible file handle
                exhaustion.</div>
              <div><br>
              </div>
              <div>TIA</div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany</pre>
  </body>
</html>