<div dir="ltr"><div><div><div> <br clear="all"></div>Hi All,<br><br></div>I am running the kamailio for secure websocket (WSS). While running traffic testing the kamailio is not able to take beyond 2300 connection. I am getting below error.<br><br>45(12831) ERROR: tls [tls_server.c:243]: tls_fix_connection_unsafe(): tls: ssl bug #1491 workaround: not enough memory for safe operation: 208<br>45(12831) ERROR: sl [../../forward.h:247]: msg_send(): tcp_send failed<br>45(12831) ERROR: websocket [ws_handshake.c:113]: ws_send_reply(): sending reply<br>46(12832) ERROR: <core> [tcp_main.c:3577]: handle_ser_child(): received CON_ERROR for 0x7f03e0b0fa18 (id 651), refcnt 3, flags 0x4018<br>45(12831) WARNING: <core> [tcp_read.c:1642]: handle_io(): F_TCPCONN connection marked as bad: 0x7f03e0b0fa18 id 651 refcnt 1<br>44(12830) ERROR: tls [tls_server.c:154]: tls_complete_init(): tls: ssl bug #1491 workaround: not enough memory for safe operation: 304<br>44(12830) ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading <br><br></div><div>I have seen below data in kamailio at the time of getting error.<br>shmem:fragments = 57
<br></div>shmem:free_size = 16986416784
<br>shmem:max_used_size = 193649976
<br>shmem:real_used_size = 193452400
<br>shmem:total_size = 17179869184
<br>shmem:used_size = 188516920
<div><div><div><div><div><br></div><div>Could you please suggest me how can I get more performance from kamailio while using WSS ?<br><br></div><div><div class="gmail_signature">Thanks<br>Priyaranjan<br></div>
</div></div></div></div></div></div>