[sr-dev] [kamailio/kamailio] Terminated Websocket connection keeps logging "forcibly closing connection" (#1886)

IvanKalashnikov notifications at github.com
Fri May 10 20:32:46 CEST 2019


Hello, I used kamailio 5.2.2

`
root at pbx:/home/user# kamailio -v
version: kamailio 5.2.2 (x86_64/linux) 75f743
flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144 MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: 75f743
compiled on 23:18:01 May  8 2019 with gcc 6.3.0
`

**Log Messages**

In log I saw many messages
`
/usr/local/sbin/kamailio[18241]: WARNING: websocket [ws_frame.c:813]: ws_keepalive(): forcibly closing connection
/usr/local/sbin/kamailio[18241]: ERROR: websocket [ws_conn.c:375]: wsconn_close_now(): getting TCP/TLS connection
`

And after that 
`
ERROR: <core> [core/tcp_main.c:3192]: send_fd_queue_run(): send_fd failed on socket 43 , queue entry 3, retries 264, connection 0x7f2d41785b18, tcp socket 3620, errno=11 (Resource temporarily unavailable)
/usr/local/sbin/kamailio[2020]: CRITICAL: <core> [core/tcp_main.c:3904]: send2child(): tcp child 9, socket 57: queue full, 556 requests queued (total handled 11145)
`

After restart all works fine and I dont know how to reproduce this error.




-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1886#issuecomment-491388843
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190510/7907c547/attachment.html>


More information about the sr-dev mailing list