<div dir="ltr"><div>this still does not solve the problem.</div><div>I&#39;ve also tried running Kamailio with <b>-b 32768</b> option.</div><div><br></div><div>here are the logs:</div><div><br></div><div>Jan  2 14:54:24 debdev kamailio[2580]: ERROR: &lt;core&gt; [tcp_read.c:344]: ERROR: tcp_read: buffer overrun, dropping</div>

<div>Jan  2 14:54:24 debdev kamailio[2580]: ERROR: &lt;core&gt; [tcp_read.c:1127]: ERROR: tcp_read_req: error reading</div><div><br></div><div>Thanks for your help.</div><br><div class="gmail_quote">On Wed, Jan 2, 2013 at 1:17 PM, Andrew Pogrebennyk <span dir="ltr">&lt;<a href="mailto:apogrebennyk@sipwise.com" target="_blank">apogrebennyk@sipwise.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
you may try changing the tcp_rd_buf_size and tcp_conn_wq_max:<br>
<a href="http://www.kamailio.org/wiki/cookbooks/3.3.x/core#tcp_conn_wq_max" target="_blank">http://www.kamailio.org/wiki/cookbooks/3.3.x/core#tcp_conn_wq_max</a><br>
<br>
And since this in development mailing list I&#39;d like to point at what<br>
seem an iaccuracy in documentation: several options refer to the core<br>
parameter called tcp_write_buf, which isn&#39;t described in the cookbook:<br>
<br>
tcp_conn_wq_max<br>
Maximum bytes queued for write allowed per connection. Attempting to<br>
queue more bytes would result in an error and in the connection being<br>
closed (too slow). If *tcp_write_buf* is not enabled, it has no effect.<br>
<br>
I hope Daniel or someone who knows reads this..<br>
<br>
BR,<br>
Andrew<br>
<div><div class="h5"><br>
On 01/02/2013 10:38 AM, Amit Elbaz wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; While sending a big TCP SIP message (15K+), I get &quot;tcp_read: buffer<br>
&gt; overrun, dropping&quot; message.<br>
&gt; this happens after a few fragments have been sent, and then i get this<br>
&gt; message and the connection resets.<br>
&gt; is it possible to set the max-buffer size through configuration? if so,<br>
&gt; where?<br>
&gt;<br>
&gt; Thanks, Amit.<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; sr-dev mailing list<br>
&gt; <a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
&gt; <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
&gt;<br>
<br>
<br>
_______________________________________________<br>
sr-dev mailing list<br>
<a href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a><br>
</blockquote></div><br></div>