<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Sat, Nov 19, 2016 at 11:16 AM pablo platt <<a href="mailto:pablo.platt@gmail.com">pablo.platt@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class="gmail_msg">I think it means that my Erlang server is dropping packets.<br></div><div dir="ltr" class="gmail_msg"><div class="gmail_msg">If it's not because of small receive buffers, what can be the reason?<br class="gmail_msg"></div></div><div class="gmail_extra gmail_msg"><br class="gmail_msg"><div class="gmail_quote gmail_msg"><br></div></div></blockquote><div><br></div><div>Linux?</div><div><br></div><div>cat /proc/net/udp and look for drops. If you burst UDP packets, there is a chance the UDP buffer in the kernel fills up and then it will start to drop packets.</div><div><br></div><div>The way to handle this is either to make sure your processing speed is above the packet arrival rate, and then increasing the buffer size so you can handle the case where the packet arrives but the Erlang system isn't scheduled in due time.</div><div> <br></div></div></div>