Hello,
what version of kamailio are you using?
Have you increased the value for core parameter tcp_max_connections?
http://www.kamailio.org/wiki/cookbooks/4.3.x/core#tcp_max_connections
Cheers,
Daniel
On 07/12/15 09:32, Priyaranjan Nayak wrote:
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.Hi All,
45(12831) ERROR: tls [tls_server.c:243]: tls_fix_connection_unsafe(): tls: ssl bug #1491 workaround: not enough memory for safe operation: 208
45(12831) ERROR: sl [../../forward.h:247]: msg_send(): tcp_send failed
45(12831) ERROR: websocket [ws_handshake.c:113]: ws_send_reply(): sending reply
46(12832) ERROR: <core> [tcp_main.c:3577]: handle_ser_child(): received CON_ERROR for 0x7f03e0b0fa18 (id 651), refcnt 3, flags 0x4018
45(12831) WARNING: <core> [tcp_read.c:1642]: handle_io(): F_TCPCONN connection marked as bad: 0x7f03e0b0fa18 id 651 refcnt 1
44(12830) ERROR: tls [tls_server.c:154]: tls_complete_init(): tls: ssl bug #1491 workaround: not enough memory for safe operation: 304
44(12830) ERROR: <core> [tcp_read.c:1326]: tcp_read_req(): ERROR: tcp_read_req: error reading
I have seen below data in kamailio at the time of getting error.shmem:free_size = 16986416784
shmem:fragments = 57
shmem:max_used_size = 193649976
shmem:real_used_size = 193452400
shmem:total_size = 17179869184
shmem:used_size = 188516920
Could you please suggest me how can I get more performance from kamailio while using WSS ?
Thanks
Priyaranjan
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users