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

Daniel-Constantin Mierla miconda at gmail.com
Mon Apr 28 15:45:22 CEST 2014


Hello,

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?

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.

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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda




More information about the sr-users mailing list