<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title>Matthew B. Jones</title>
  <id>http://127.0.0.1</id>
  <updated>2009-10-10</updated>
  <author>
    <name>Matthew B. Jones</name>
  </author>
  <entry>
    <title>New Blog using toto</title>
    <link rel="alternate" href="http://127.0.0.1/2011/12/17/new-blog-using-toto/"/>
    <id>http://127.0.0.1/2011/12/17/new-blog-using-toto/</id>
    <published>2011-12-17</published>
    <updated>2011-12-17</updated>
    <author>
      <name>Matthew B. Jones</name>
    </author>
    <summary type="html">&lt;p&gt;Welcome to the new home of my blog. I originally was hosting using
WordPress but after using Heroku for Acquaintable for a few months I
decided to switch over to using &lt;a href="http://cloudhead.io/toto"&gt;toto&lt;/a&gt; +
&lt;a href="http://www.heroku.com"&gt;Heroku&lt;/a&gt;&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;Welcome to the new home of my blog. I originally was hosting using
WordPress but after using Heroku for Acquaintable for a few months I
decided to switch over to using &lt;a href="http://cloudhead.io/toto"&gt;toto&lt;/a&gt; +
&lt;a href="http://www.heroku.com"&gt;Heroku&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;I&amp;rsquo;ll begin blogging various random thoughts, thoughtful thoughts, and
other tidbits of information that the public at large can peruse or
ignore once I get the structure of this website completed.&lt;/p&gt;
</content>
  </entry>
  <entry>
    <title>Java Lies! IOException</title>
    <link rel="alternate" href="http://127.0.0.1/2009/10/10/java-lies-ioexception/"/>
    <id>http://127.0.0.1/2009/10/10/java-lies-ioexception/</id>
    <published>2009-10-10</published>
    <updated>2009-10-10</updated>
    <author>
      <name>Matthew B. Jones</name>
    </author>
    <summary type="html">&lt;p&gt;Recently a coworker and I ran into a strange IOException that was only
occurring on our Linux servers, but Windows, OS X, and Solaris never had
the problem. Our software monitors networking equipment via SNMP, which
is a UDP-based protocol. We communicate via UDP at high rates of
hundreds of devices per second. When testing a new version of our
product we came across &amp;ldquo;IOException: No buffer space available&amp;rdquo;&amp;hellip;&lt;/p&gt;
</summary>
    <content type="html">&lt;p&gt;Recently a coworker and I ran into a strange IOException that was only
occurring on our Linux servers, but Windows, OS X, and Solaris never had
the problem. Our software monitors networking equipment via SNMP, which
is a UDP-based protocol. We communicate via UDP at high rates of
hundreds of devices per second. When testing a new version of our
product we came across &amp;ldquo;IOException: No buffer space available&amp;rdquo;.&lt;/p&gt;

&lt;p&gt;Turns out that this is a misleading exception from Java. The root cause
is Linux has a hard limit of 1024 ARP entries in the local system. Since
our server&amp;rsquo;s IP address was in the same subnet as all the target IP
addresses (10.140.0.0/16), the local box issues ARP requests to
translate the IP address into the hardware MAC address in order to
transmit the UDP packet. After 1024 of these lookups are done the
magical IOException occurs.&lt;/p&gt;

&lt;p&gt;Turns out I&amp;rsquo;m not the only person to encounter this. While I was looking
into the issue Google did not turn up much at all, except for this one
&lt;a href="http://stackoverflow.com/questions/1043567/java-ioexception-no-buffer-space-available-while-sending-udp-packets-on-linux/1548174#1548174"&gt;StackOverflow
post&lt;/a&gt; where I&amp;rsquo;ve posted my answer.&lt;/p&gt;
</content>
  </entry>
</feed>

