websocket:ws_current_connections says how many WebSocket connections are currently open.
It is perfectly possible for Kamailio to be doing SIP over both TCP and WebSockets, so
counting the number of TCP connections may not tell you how many WebSocket connections are
in use as the figure can include both SIP over WebSockets (each WebSocket connection has a
TCP connection) and SIP over TCP. A WebSocket connection uses more memory than a TCP
connection (additional data structures stored for each connection), so it is useful to be
able to know exactly how many WebSocket connections are in use.
ws.dump prints out the details of the top 50 WebSocket connections (in the internal linked
list) including useful information like last used time. This is useful for developers
during testing, and is not really for anyone just administering the system.
[
http://images.enigma-hosting.co.uk/acision/14843/signature/red.png]
Peter Dunkley
Technical Director
[
Acision]<http://www.acision.com/>
[
http://images.enigma-hosting.co.uk/acision/14843/signature/turquoise.png]
t
+44 1189 308890
m
+44 7595 891824
e
peter.dunkley@acision.com<mailto:peter.dunkley@acision.com>
[
http://images.enigma-hosting.co.uk/acision/14843/signature/blue.png]
Connect with us:
[
Facebook]<https://www.facebook.com/pages/Acision/145536588827195> [Twitter]
<https://twitter.com/acision> [LinkedIn]
<http://www.linkedin.com/company/1270?trk=tyah&trkInfo=tas%3Aacision%2Cidx%3A2-1-2>
[Google+] <https://plus.google.com/+acision/posts> [YouTube]
<http://www.youtube.com/user/Acision1>
________________________________
Lancaster Court, 8 Barnes Wallis Road, Segensworth East, Fareham, Hampshire PO15 5TU, UK
On 10 Sep 2014, at 19:44, Luis F Urrea
<lfurrea@gmail.com<mailto:lfurrea@gmail.com>> 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@gmail.com<mailto:lfurrea@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@lists.sip-router.org<mailto:sr-users@lists.sip-router.org>
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
________________________________
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It
may contain proprietary material, confidential information and/or be subject to legal
privilege. It should not be copied, disclosed to, retained or used by, any other party. If
you are not an intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you for understanding.