Re: [jgroups-users] RpcDispatcher does not invoke remote method
Questions/problems related to using JGroups <[email protected]> Mon, 17 Jul 2017 15:35:46 +0200
| Newsgroups | gmane.comp.java.javagroups.general |
|---|---|
| Message-ID | <mailman.29811.1500298573.17807.javagroups-users@lists.sourceforge.net> |
Found the problem; actually there were 2... 1: a max_bundle_size of 100K exceeds the max datagram packet size allowed by UDP. I added a sanity check to master to throw an exception if this happens. 2: FRAG2 is enabled on the main stack, but on none of the fork stacks. If you move FRAG2 below FORK, things will work. On 17/07/17 13:22, Questions/problems related to using JGroups wrote: > The code provided can be used to reproduce the issue mentioned. All is well > until a byte buffer of size 65353 is transferred using fork channel. > However, increasing the size by even 1 byte produces the issue (RPC call not > invoked). Probably there is some limitation which uses 64k chunks by default > (65536 - 65353 = 183). I suppose the deficit 183 bytes are used up by the > Message metadata. I initially had this issue when I sent 1MB chunks via RPC. > The main channel works well irrespective of the buffer size. If fork > channels use the same communication mechanism internally I am wondering why > this won't work for fork channels. This cannot be the bundling size since > setting also gives the same result. The jgroups manual nor the > https://github.com/belaban/JGroups/blob/master/doc/design/FORK.txt > <https://github.com/belaban/JGroups/blob/master/doc/design/FORK.txt> > provides any info relating of size limitations while using Fork channels for > transport. > I am using JGroups 4.0.2. The protocol stack used is > > > > > -- > View this message in context: http://jgroups.1086181.n5.nabble.com/jgroups-users-RpcDispatcher-does-not-invoke-remote-method-tp11333p11339.html > Sent from the JGroups - General mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > javagroups-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/javagroups-users > -- Bela Ban | http://www.jgroups.org ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot