JBoss UDP cluster - "Caused by: java.io.IOException: No buffer space available"

Solution Unverified - Updated -

Issue

  • Following error is seen in the server.log file
ERROR [org.jgroups.protocols.UDP] (OOB-1665,10.10.10.10:55300) failed sending message to null (60505 bytes)
java.lang.Exception: dest=/20.20.20.20:45688 (60508 bytes)
    at org.jgroups.protocols.UDP._send(UDP.java:374)
    at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:302)
    at org.jgroups.protocols.TP.doSend(TP.java:1478)
    at org.jgroups.protocols.TP.send(TP.java:1468)
    at org.jgroups.protocols.TP.down(TP.java:1186)
    at org.jgroups.protocols.TP$ProtocolAdapter.down(TP.java:2308)
    at org.jgroups.protocols.Discovery.down(Discovery.java:374)
    at org.jgroups.protocols.MERGE2.down(MERGE2.java:175)
    at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:381)
    at org.jgroups.protocols.FD.down(FD.java:315)
    at org.jgroups.protocols.VERIFY_SUSPECT.down(VERIFY_SUSPECT.java:95)
    at org.jgroups.protocols.BARRIER.down(BARRIER.java:107)
    at org.jgroups.protocols.pbcast.NAKACK.sendXmitRsp(NAKACK.java:1051)
    at org.jgroups.protocols.pbcast.NAKACK.handleXmitReq(NAKACK.java:983)
    at org.jgroups.protocols.pbcast.NAKACK.up(NAKACK.java:718)
    at org.jgroups.protocols.BARRIER.up(BARRIER.java:136)
    at org.jgroups.protocols.VERIFY_SUSPECT.up(VERIFY_SUSPECT.java:167)
    at org.jgroups.protocols.FD.up(FD.java:284)
    at org.jgroups.protocols.FD_SOCK.up(FD_SOCK.java:328)
    at org.jgroups.protocols.MERGE2.up(MERGE2.java:144)
    at org.jgroups.protocols.Discovery.up(Discovery.java:264)
    at org.jgroups.protocols.PING.up(PING.java:273)
    at org.jgroups.protocols.TP$ProtocolAdapter.up(TP.java:2319)
    at org.jgroups.protocols.TP.passMessageUp(TP.java:1253)
    at org.jgroups.protocols.TP.access$100(TP.java:50)
    at org.jgroups.protocols.TP$IncomingPacket.handleMyMessage(TP.java:1830)
    at org.jgroups.protocols.TP$IncomingPacket.run(TP.java:1809)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.io.IOException: No buffer space available
    at java.net.PlainDatagramSocketImpl.send(Native Method)
    at java.net.DatagramSocket.send(DatagramSocket.java:625)
    at org.jgroups.protocols.UDP._send(UDP.java:358)
    ... 29 more

Environment

  • JBoss Enterprise Application Platform (EAP)
    • 5.1.2
    • UDP cluster

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In