[
http://jira.jboss.com/jira/browse/JGRP-460?page=all ]
Bela Ban resolved JGRP-460.
---------------------------
Resolution: Done
The issues were:
- TP.bundle() used Message.getLength() [number of bytes in the message] rather than
Message.size() [size of the entire message,
including *headers*], therefore computed the message size too small
- TP.bundling_size was set to 64K (NAKACK.max_xmit_size was 60K)
Message bundler doesn't handle small messages (100 bytes)
correctly
-------------------------------------------------------------------
Key: JGRP-460
URL:
http://jira.jboss.com/jira/browse/JGRP-460
Project: JGroups
Issue Type: Bug
Affects Versions: 2.4.1 SP1
Reporter: Bela Ban
Assigned To: Bela Ban
Fix For: 2.5
Attachments: config.txt, sfc.xml
When using 2 nodes in perf.Test and the attached config.txt plus sfc.xml, we get the
following exception below.
Trace is:
at java.net.PlainDatagramSocketImpl.send(Native Method)
at java.net.DatagramSocket.send(DatagramSocket.java:612)
at org.jgroups.protocols.UDP._send(UDP.java:319)
at org.jgroups.protocols.UDP.sendToAllMembers(UDP.java:289)
at org.jgroups.protocols.TP.doSend(TP.java:1194)
at org.jgroups.protocols.TP.access$3300(TP.java:49)
at org.jgroups.protocols.TP$Bundler.sendBundledMessages(TP.java:1768)
at org.jgroups.protocols.TP$Bundler.send(TP.java:1689)
at org.jgroups.protocols.TP$Bundler.access$100(TP.java:1657)
at org.jgroups.protocols.TP.send(TP.java:1173)
at org.jgroups.protocols.TP.down(TP.java:957)
at org.jgroups.protocols.Discovery.down(Discovery.java:325)
at org.jgroups.protocols.MERGE2.down(MERGE2.java:184)
at org.jgroups.protocols.FD_SOCK.down(FD_SOCK.java:406)
at org.jgroups.protocols.FD.down(FD.java:363)
at org.jgroups.stack.Protocol.down(Protocol.java:270)
at org.jgroups.protocols.BARRIER.down(BARRIER.java:94)
at org.jgroups.protocols.pbcast.NAKACK.send(NAKACK.java:641)
at org.jgroups.protocols.pbcast.NAKACK.down(NAKACK.java:435)
at org.jgroups.protocols.UNICAST.down(UNICAST.java:398)
at org.jgroups.protocols.pbcast.STABLE.down(STABLE.java:312)
at org.jgroups.protocols.VIEW_SYNC.down(VIEW_SYNC.java:172)
at org.jgroups.protocols.pbcast.GMS.down(GMS.java:777)
at org.jgroups.protocols.SFC.down(SFC.java:257)
at org.jgroups.protocols.FRAG2.down(FRAG2.java:167)
at org.jgroups.protocols.pbcast.STATE_TRANSFER.down(STATE_TRANSFER.java:212)
at org.jgroups.stack.ProtocolStack.down(ProtocolStack.java:340)
at org.jgroups.JChannel.down(JChannel.java:1194)
at org.jgroups.JChannel.send(JChannel.java:575)
at
org.jgroups.tests.perf.transports.JGroupsTransport.send(JGroupsTransport.java:85)
at org.jgroups.tests.perf.Test.sendMessages(Test.java:451)
at org.jgroups.tests.perf.Test.main(Test.java:808)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira