<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
what version of kamailio are you using?<br>
<br>
Have you increased the value for core parameter tcp_max_connections?<br>
<br>
<a class="moz-txt-link-freetext" href="http://www.kamailio.org/wiki/cookbooks/4.3.x/core#tcp_max_connections">http://www.kamailio.org/wiki/cookbooks/4.3.x/core#tcp_max_connections</a><br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 07/12/15 09:32, Priyaranjan Nayak
wrote:<br>
</div>
<blockquote
cite="mid:CAACv2Pk0HZF_tLXR0avkFo=1kGm7ko2qfjeeeD7vaj8SL4viaw@mail.gmail.com"
type="cite">
<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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
</body>
</html>