<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 04/28/2014 04:09 PM, Roberto Fichera
wrote:<br>
</div>
<blockquote cite="mid:535E6123.5040803@tekno-soft.it" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">On 04/28/2014 04:05 PM, Roberto
Fichera wrote:<br>
</div>
<blockquote cite="mid:535E601A.3090208@tekno-soft.it" type="cite">
<pre wrap="">On 04/28/2014 03:45 PM, Daniel-Constantin Mierla wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hello,
</pre>
</blockquote>
<pre wrap="">Hi,
</pre>
<blockquote type="cite">
<pre wrap="">it doesn't look like a crash at all, but normal behaviour when message is too large to send. Or are there other log
messages you haven't posted here indicating a crash?
</pre>
</blockquote>
<pre wrap="">Opsss! Sorry! It wasn't a crash, I wrote the wrongly! Indeed it's a normal error log.
</pre>
<blockquote type="cite">
<pre wrap="">You may have to adjust write buffers for tcp -- look at core cookbook, tcp parameters section, and identify the ones
with 'wq' in the name.
</pre>
</blockquote>
<pre wrap="">are you talking about tcp_wq_blk_size or tcp_wq_max? For the first the documentation reports
that might be ignored, the latter seems defaulting to 10MB.</pre>
</blockquote>
<br>
Mmmhhh! Maybe it's tcp_conn_wq_max ?
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<br>
</blockquote>
<br>
Yep! It was! Increased to 200K solved the problem!<br>
<br>
<blockquote cite="mid:535E6123.5040803@tekno-soft.it" type="cite"> <br>
<blockquote cite="mid:535E601A.3090208@tekno-soft.it" type="cite">
<pre wrap="">
Cheers,
Roberto Fichera.
</pre>
<blockquote type="cite">
<pre wrap="">Cheers,
Daniel
On 28/04/14 15:29, Roberto Fichera wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi All,
I'm playing with instant messaging with a PJSIP client, but as soon as I send body with payload to about 100k I'm
getting the error below:
Apr 28 09:16:52 ip-10-227-0-26 /usr/sbin/kamailio[2909]: ERROR: <core> [tcp_main.c:715]: _wbufq_add(): ERROR:
wbufq_add(40552 bytes): write queue full or timeout (0, total 0, last write 51946505 s ago)
Apr 28 09:16:52 ip-10-227-0-26 /usr/sbin/kamailio[2909]: ERROR: tm [../../forward.h:240]: msg_send(): msg_send: ERROR:
tcp_send failed
Apr 28 09:16:52 ip-10-227-0-26 /usr/sbin/kamailio[2910]: ERROR: <core> [tcp_main.c:3638]: handle_ser_child():
handle_ser_child: ERROR: received CON_ERROR for 0xb30ddcd8 (id 352), refcnt 2, flags 0x5092
Apr 28 09:16:52 ip-10-227-0-26 /usr/sbin/kamailio[2909]: ERROR: tm [t_fwd.c:1609]: t_send_branch(): ERROR:
t_send_branch: sending request on branch 0 failed
Apr 28 09:16:52 ip-10-227-0-26 /usr/sbin/kamailio[2909]: ERROR: sl [sl_funcs.c:387]: sl_reply_error(): ERROR:
sl_reply_error used: Unfortunately error on sending to next hop occurred (477/SL)
And the app get
SIP/2.0 477 Unfortunately error on sending to next hop occurred (477/SL)
Via: SIP/2.0/TLS XX.XX.XX.XX:55859;rport=55859;branch=z9hG4bKPjkkazEy.XcjJkYDCEzwbwUVAONDzcCN8t;alias
From: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:sip:aaaaa@test.net"><sip:aaaaa@test.net></a>;tag=9gcb.Ay3wSCZNFgs8PNCbdkRq7jfxbDx
To: <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:sip:bbbbb@test.net"><sip:bbbbb@test.net></a>;tag=9a285338e10af1c086406d08dc7f5d79.e457
Call-ID: v9JlsK1AEH4So8AIEfqiGuUOEx5Fub1C
CSeq: 28450 MESSAGE
Server: kamailio (4.1.3 (i386/linux))
Content-Length: 0
--end msg--
Kamailio is already set with tcp_rd_buf_size=204800
Does anyone can suggest how to fix this?
Thanks in advance,
Roberto Fichera.
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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>
</blockquote>
<pre wrap="">
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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>
<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>
</body>
</html>