[SR-Users] websocket:ws_current_connections vs. kamctl fifo ws.dump

Daniel-Constantin Mierla miconda at gmail.com
Thu Sep 11 16:23:02 CEST 2014


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.

You can run the tcp-related rpc commands via kamcmd:

- 
http://www.kamailio.org/docs/docbooks/4.1.x/rpc_list/rpc_list.html#core.tcp_info

Cheers,
Daniel

On 10/09/14 19:44, Luis F Urrea wrote:
> Any ideas are welcome.
>
> 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.
>
> On Mon, Sep 8, 2014 at 12:09 PM, Luis F Urrea <lfurrea at gmail.com 
> <mailto:lfurrea at gmail.com>> wrote:
>
>     Hello
>
>     I have a question in regards monitoring websocket connections on a
>     production box.
>
>     We ususally trust whatever is indicated through the
>
>
>     $ kamctl fifo get statistics
>
>     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
>
>     $ kamctl fifo get_statistics
>
>     websocket:ws_current_connections
>
>     Which seem to indicate current websocket connections and the output of
>
>     $ kamctl fifo ws.dump
>
>     Which seems to indicate current OPEN connections.
>
>     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.
>
>     TIA
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140911/9667e66f/attachment.html>


More information about the sr-users mailing list