<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jul 30, 2014 at 9:00 PM, Lee Sylvester <span dir="ltr"><<a href="mailto:lee.sylvester@gmail.com" target="_blank">lee.sylvester@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":11g" class="a3s" style="overflow:hidden">So, I set a bunch of flags to update the buffer size:<br>
<br>
{:buffer, 1024*1024*16}, {:recbuf, 1024*1024*16}, {:sndbuf, 1024*1024*16}<br>
<br>
Giving quite a hefty amount of buffer space. When I connect 5 clients to the server with an echo peer, and send about 1000 packets from each with 1500 bytes per packet, only 50% of the packets even get registered in the message stack. I’ve conferred with other Erlang devs and have heard their similar servers can support around 1000 such clients. Why, then, do I get this issue? :-(<br>
<br>
Any idea’s or help would be greatly appreciated.<br>
<br>
Regards,<br>
Lee</div></blockquote></div><br>Start by verifying your kernel is not dropping the packets at its end. If your kernels buffer is full, then things will not work.<br><br clear="all"><div><br></div>-- <br>J.
</div></div>