[OpenSIPS-Users] Cause of tcp_receive_timeout

Hamid Hashmi hamid2kviii at hotmail.com
Thu Jan 17 05:48:52 EST 2019


I am trying to load test TLS listener through sipp.  REGISTER Request is working on TLS but INVITE is not working. I changed the transport to TCP and receive following logs


version: opensips 2.4.3 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
git revision: c49ae1d53
main.c compiled on 14:23:04 Dec  5 2018 with gcc 4.8.5


Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: Accepted connection from 192.168.3.60:36157 on interface 192.168.3.60:2381!
Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: Using the global ( per process ) buff
Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_handle_req: We didn't manage to read a full request
Jan 17 13:10:23 siplb_19 192.168.3.19[29333]: DBG:core:tcp_read_req: tcp_read_req end
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcp_receive_timeout: 0x7fe984baf740 expired - (18, 18) lt=129
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:io_watch_del: [TCP_worker] io_watch_del op on index -1 7 (0x8c2da0, 7, -1, 0x10,0x1) fd_no=5 called
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcpconn_release:  releasing con 0x7fe984baf740, state -2, fd=-1, id=1475809186
Jan 17 13:10:27 siplb_19 192.168.3.19[29333]: DBG:core:tcpconn_release:  extra_data (nil)
Jan 17 13:10:27 siplb_19 192.168.3.19[29342]: DBG:core:handle_tcp_worker: response= 7fe984baf740, -2 from tcp worker 29333 (0)
Jan 17 13:10:27 siplb_19 192.168.3.19[29342]: DBG:core:tcpconn_destroy: destroying connection 0x7fe98

PCAP file is also attached.

SIPP Caller 192.168.3.60 ------- > SIP Server 192.168.3.19

TLS connection working fine with the softphone. This only occurs when I send TLS/TCP request through SIPp script.


Regards

Hamid R. Hashmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190117/1d1a4d9e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_receive_timeout.pcap
Type: application/octet-stream
Size: 1615 bytes
Desc: tcp_receive_timeout.pcap
URL: <http://lists.opensips.org/pipermail/users/attachments/20190117/1d1a4d9e/attachment.obj>


More information about the Users mailing list