This content has been marked as final. Show 3 replies
First off, what do you mean you use linux 8.0? What distribution is that?
Is the exception that is being thrown an IOException? I just want to make sure the problem is actually happening at the socket.receive(p) line.
You can also try to print the stack trace of the exception by doing this: exec.printStackTrace()
That might tell you what class is throwing the exception which will give a clue as to what resource it needs to allocate but cannot.
You might be out of swap space. Check to see if you have enough.
The trace was
java.net.SocketException: Resource temporarily unavailable
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.PlainDatagramSocketImpl.receive(Unknown Source)
and the linux version was
Red Hat Linux release 8.0 (Psyche)
Kernel 2.4.18-14 on an i686
I also found that this exception is thrown when an UDP packet with incorrect checksum is sent.