[sr-dev] [kamailio] number of websocket connections (#218)
Vitaliy Aleksandrov
vitalik.voip at gmail.com
Mon Jun 22 11:46:00 CEST 2015
Hi,
"kamctl fifo ws.dump" shows you all websocket connections kamailio knows
about.
On 19/06/15 17:49, swuy wrote:
>
> Hello!
> I have kamailio installed as a part of kazoo server (kamailio server
> and server with other apps) with enabled websocket role. As I see in
> .cfg file there is default restriction for connection from one IP -
> 50, so 51st client from the same IP address get 403 error. So
>
> 1) How can I see how many websocket connections from one IP I have?
> (Except log messages in kamailio.log)
>
> 2) Our kamailio work fine for week and a half, after that I see
> messages in kamailio log:
> "[Some_IP_address] is at the maximum allowable sockets per IP,
> rejecting request for another websocket"
>
> I checked connections from OS and saw that there is one connection not
> fifty.
> lsof -ni TCP:8080 | grep [Some_IP_address]
> kamailio 30673 kamailio 132u IPv4 4667683 0t0 TCP
> [Some_IP_address]:webcache->[Some_IP_address]:57688 (ESTABLISHED)
>
> After restarting kamailio all work fine for another week and a half
> and repeat.
> Is it some bug?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/kamailio/kamailio/issues/218>.
>
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150622/c2c99fb3/attachment.html>
More information about the sr-dev
mailing list