I have two machines running JGroups. The problem that I encountered is when instances are created on one of the machines, after a few seconds I start other instances. Both of them initiate separatism (the same cluster), and they do not join the cluster together. After 10-15 seconds, they communicate and unite.
This delay causes a problem with my business in the code ... There is also a warning thrown when the program starts
WARNING: send socket buffer java.net.MulticastSocket@5954864a was set to 640 KB, but only 135.17 KB was allocated for the OS. This can lead to performance issues. Set the correct send buffer on the OS (e.g. net.core.wmem_max on Linux)
Does this have something to do with the problem?
source share