[SR-Users] Large Content-Length crash with instant message

Roberto Fichera kernel at tekno-soft.it
Mon Apr 28 16:09:39 CEST 2014


On 04/28/2014 04:05 PM, Roberto Fichera wrote:
> On 04/28/2014 03:45 PM, Daniel-Constantin Mierla wrote:
>> Hello,
> Hi,
>
>> 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?
> Opsss! Sorry! It wasn't a crash, I wrote the wrongly! Indeed it's a normal error log.
>
>> 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.
> 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.

Mmmhhh! Maybe it's tcp_conn_wq_max ?

>
> Cheers,
> Roberto Fichera.
>
>
>> Cheers,
>> Daniel
>>
>> On 28/04/14 15:29, Roberto Fichera wrote:
>>> 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: <sip:aaaaa at test.net>;tag=9gcb.Ay3wSCZNFgs8PNCbdkRq7jfxbDx
>>>      To: <sip:bbbbb at test.net>;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
>>> sr-users at lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140428/25b5dbd6/attachment.html>


More information about the sr-users mailing list